What happens if you change a CUPS printer Device URI while a print job is printing?
Issue
We have hundreds CUPS printers where we want to change the Device URI. I'm scripting this, so I'll do it via command-line with the following:
lpadmin -p ddtest -v lpd://test/test -m foomatic:Generic-PostScript_Printer-Postscript.ppd -o printer-error-policy=retry-job -E
My questions are:
-
If it's in the middle of printing a report when the above command is issued, will that current report be interrupted or will my changes take effect AFTER the current report finishes?
-
If my changes DO take effect after the current report finishes, should I expect to get an immediate return to the command prompt or will my command have to wait until the current report finishes printing?
Environment
- Red Hat Enterprise Linux (RHEL) 5
- Common Unix Printing System (CUPS) 1.3.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.