unfortunately, your solution has a bug. See the output of the "hp" backend below (typical desktop configuration of 9 printers on the USB of one computer). For some of the printers (LaserJet 1020, LaserJet 3390, Color LaserJet CM3530 MFP) the MFG field is filled with the serial number and not with the manufacturer name.
till@till-laptop:~/ubuntu/hplip/test/hplip-3.9.8$ /usr/lib/cups/backend/hp
direct hp:/usb/Photosmart_A710_series?serial=CN6B92118304R4 "HP Photosmart A710 series" "HP Photosmart A710 series USB CN6B92118304R4 HPLIP" "MFG:HP;MDL:Photosmart A710 series;CLS:PRINTER;DES:Photosmart A710 series;SN:CN6B92118304R4;"
direct hp:/usb/HP_LaserJet_1020?serial=JL377QZ "HP LaserJet 1020" "HP Hewlett-Packard USB LaserJet 1020 HPLIP" "MFG:JL377QZ;MDL:HP LaserJet 1020;CLS:PRINTER;DES:HP LaserJet 1020;SN:JL377QZ;"
direct hp:/usb/psc_1200_series?serial=BR44H4G02T5H "HP psc 1200 series" "HP psc 1200 series USB BR44H4G02T5H HPLIP" "MFG:Hewlett-Packard;MDL:psc 1200 series;CLS:PRINTER;DES:psc 1200 series;SN:BR44H4G02T5H;"
direct hp:/usb/Photosmart_Pro_B9100_series?serial=MY7143104604C1 "HP Photosmart Pro B9100 series" "HP Photosmart Pro B9100 series USB MY7143104604C1 HPLIP" "MFG:HP;MDL:Photosmart Pro B9100 series;CLS:PRINTER;DES:Photosmart Pro B9100 series;SN:MY7143104604C1;"
direct hp:/usb/HP_Color_LaserJet_CM3530_MFP?serial=CNFND01964 "HP Color LaserJet CM3530 MFP" "HP Hewlett-Packard USB Color LaserJet CM3530 MFP HPLIP" "MFG:CNFND01964;MDL:HP Color LaserJet CM3530 MFP;CLS:PRINTER;DES:HP Color LaserJet CM3530 MFP;SN:CNFND01964;"
direct hp:/usb/Photosmart_C8100_series?serial=MY7B5F70P704YH "HP Photosmart C8100 series" "HP Photosmart C8100 series USB MY7B5F70P704YH HPLIP" "MFG:HP;MDL:Photosmart C8100 series;CLS:PRINTER;DES:Photosmart C8100 series;SN:MY7B5F70P704YH;"
direct hp:/usb/HP_LaserJet_3390?serial=00CNMJP81545 "HP LaserJet 3390" "HP Hewlett-Packard USB LaserJet 3390 HPLIP" "MFG:00CNMJP81545;MDL:HP LaserJet 3390;CLS:PRINTER;DES:HP LaserJet 3390;SN:00CNMJP81545;"
direct hp:/usb/Photosmart_C5200_series?serial=MY7C3FD0XZ0559 "HP Photosmart C5200 series" "HP Photosmart C5200 series USB MY7C3FD0XZ0559 HPLIP" "MFG:HP;MDL:Photosmart C5200 series;CLS:PRINTER;DES:Photosmart C5200 series;SN:MY7C3FD0XZ0559;"
direct hp:/usb/Officejet_H470?serial=CN7BU18154 "HP Officejet H470" "HP Officejet H470 USB CN7BU18154 HPLIP" "MFG:HP;MDL:Officejet H470;CLS:PRINTER;DES:Officejet H470;SN:CN7BU18154;"
till@till-laptop:~/ubuntu/hplip/test/hplip-3.9.8$
Dave,
unfortunately, your solution has a bug. See the output of the "hp" backend below (typical desktop configuration of 9 printers on the USB of one computer). For some of the printers (LaserJet 1020, LaserJet 3390, Color LaserJet CM3530 MFP) the MFG field is filled with the serial number and not with the manufacturer name.
till@till- laptop: ~/ubuntu/ hplip/test/ hplip-3. 9.8$ /usr/lib/ cups/backend/ hp Photosmart_ A710_series? serial= CN6B92118304R4 "HP Photosmart A710 series" "HP Photosmart A710 series USB CN6B92118304R4 HPLIP" "MFG:HP; MDL:Photosmart A710 series; CLS:PRINTER; DES:Photosmart A710 series; SN:CN6B92118304 R4;" HP_LaserJet_ 1020?serial= JL377QZ "HP LaserJet 1020" "HP Hewlett-Packard USB LaserJet 1020 HPLIP" "MFG:JL377QZ;MDL:HP LaserJet 1020;CLS: PRINTER; DES:HP LaserJet 1020;SN:JL377QZ;" psc_1200_ series? serial= BR44H4G02T5H "HP psc 1200 series" "HP psc 1200 series USB BR44H4G02T5H HPLIP" "MFG:Hewlett- Packard; MDL:psc 1200 series; CLS:PRINTER; DES:psc 1200 series; SN:BR44H4G02T5H ;" Photosmart_ Pro_B9100_ series? serial= MY7143104604C1 "HP Photosmart Pro B9100 series" "HP Photosmart Pro B9100 series USB MY7143104604C1 HPLIP" "MFG:HP; MDL:Photosmart Pro B9100 series; CLS:PRINTER; DES:Photosmart Pro B9100 series; SN:MY7143104604 C1;" HP_Color_ LaserJet_ CM3530_ MFP?serial= CNFND01964 "HP Color LaserJet CM3530 MFP" "HP Hewlett-Packard USB Color LaserJet CM3530 MFP HPLIP" "MFG:CNFND01964 ;MDL:HP Color LaserJet CM3530 MFP;CLS: PRINTER; DES:HP Color LaserJet CM3530 MFP;SN:CNFND01964;" Photosmart_ C8100_series? serial= MY7B5F70P704YH "HP Photosmart C8100 series" "HP Photosmart C8100 series USB MY7B5F70P704YH HPLIP" "MFG:HP; MDL:Photosmart C8100 series; CLS:PRINTER; DES:Photosmart C8100 series; SN:MY7B5F70P704 YH;" HP_LaserJet_ 3390?serial= 00CNMJP81545 "HP LaserJet 3390" "HP Hewlett-Packard USB LaserJet 3390 HPLIP" "MFG:00CNMJP815 45;MDL: HP LaserJet 3390;CLS: PRINTER; DES:HP LaserJet 3390;SN: 00CNMJP81545; " Photosmart_ C5200_series? serial= MY7C3FD0XZ0559 "HP Photosmart C5200 series" "HP Photosmart C5200 series USB MY7C3FD0XZ0559 HPLIP" "MFG:HP; MDL:Photosmart C5200 series; CLS:PRINTER; DES:Photosmart C5200 series; SN:MY7C3FD0XZ05 59;" Officejet_ H470?serial= CN7BU18154 "HP Officejet H470" "HP Officejet H470 USB CN7BU18154 HPLIP" "MFG:HP; MDL:Officejet H470;CLS: PRINTER; DES:Officejet H470;SN: CN7BU18154; " laptop: ~/ubuntu/ hplip/test/ hplip-3. 9.8$
direct hp:/usb/
direct hp:/usb/
direct hp:/usb/
direct hp:/usb/
direct hp:/usb/
direct hp:/usb/
direct hp:/usb/
direct hp:/usb/
direct hp:/usb/
till@till-