What happens if you change a CUPS printer Device URI while a print job is printing?

Solution Unverified - Updated -

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:

  1. 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?

  2. 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.