Originally Posted by z01krh
I have found several articles online that say when a printer is out of paper a cups class will route to an available printer.
I have two identical printers set up in a cups class. But when one printer runs out of paper it does not fail over to printer two. Instead it holds the print job in queue until paper is inserted then prints. If printer one is offline it will fail over to printer two.
Is there a way to have cups print to the other printer when out of paper or is holding it in the queue normal behavior?
I cannot find anything real clear on the cups documentation about this.
I think what you'd be after is a printer class in CUPS, but that may not work, depending on your goal.
From what I can gather, you can assign multiple printers to a 'class', then define your system to print to that 'class' of printers. The first available printer will pick it up and go forward. If someone else tries to print, it'll send it to the next available printer. HOWEVER...if you have a small print job, chances are it'll get shoveled down to your printers buffer, and the job will leave the CUPS queue totally, so there will be nothing to move to the next printer. You'll just have to load more paper.