[cups.bugs] [MOD] STR #1372: Showing auto-detected printers with weird IEEE-1284 ID strings

Till Kamppeter till.kamppeter at gmx.net
Mon Jan 9 09:50:19 PST 2006


[STR New]

I have an HP PhotoSmart 2600 connected to the USB of my CUPS 1.2 test
machine (Mandriva Cooker with weekly snapshot rev 4892). The IEEE-1284
device ID string of the printer is (non-standard/non-constant fields left
out):

MFG:HP;
MDL:Photosmart 2600 series;
CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;
CLS:PRINTER;
DES:6543;
SN:MY53OK70V10400;

The web interface (http://localhost:631/admin) shows that the printer was
auto-detected, but it does not show the model name. It simply shows "6543"
(see attached screenshot). It seems that what is shown is the "DES:" field
of the ID string is used as the model name in the list of detected
printers.

Unfortunately, this does not always work out, especially with newer
inkjets and MF devices from HP.

I surround this problem in printerdrake by taking the "MFG:" and "MDL:"
entries (separated by a space) if the "DES:" contains garbage (too short,
no letters, no spaces).

I suggest to proceed that way also in the web interface of CUPS, to make
it always easy for the user to know which of his printers is represented
by the entry in the list of auto-detected printers (imagine two different
HP models on one machine). But do not always use "MFG:" and "MDL:", the ID
strings of other printers can have a good "DES:" but bad "MFG:" and
"MDL:".

Link: http://www.cups.org/str.php?L1372
Version: 1.2-current
Attachment: http://www.cups.org/strfiles/1372/cups-1.2-web-admin-HP-PhotoSmart-2610.png





More information about the cups-devel mailing list