CUPS DeviceURI serial generic for printer model (not for single printer)

Asked by Juha Laukkanen

When I run hp-setup it generates /etc/cups/printers.conf with specific serial for DeviceURI. The serial is unique to a printer and not for a printer model family. Thus when the printer breaks and is replaced with same model, printing does not work anymore, and device communication error is raised.

DeviceURI hp:/usb/HP_Color_LaserJet_CMPPFF_MFP?serial=HP7373738

If I delete serial= token when the end printing does not work anymore either.

How do I make a generic config for the printer model and not for a unique printer?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sanjay Kumar
Solved:
Last query:
Last reply:
Revision history for this message
Best Sanjay Kumar (sanjay-kumar14) said :
#1

Hello Juha,

I dont think we can have a generic config for the printer as driver should be able to support multiple printers of the same model (which differ by only serial number) connected to the same PC, however if you install the latest HPLIP release, then in that case print queue for new device will get created automatically as soon as device is connected to the Linux box.

So you can select a new print queue while printing.

Revision history for this message
Juha Laukkanen (jlaukkanen) said :
#2

OK, automatically creating a queue using newest version (3.12.4 atm) seems to solve the problem.

Revision history for this message
Juha Laukkanen (jlaukkanen) said :
#3

Thanks Sanjay Kumar, that solved my question.