[cups.general] classes with different printers

Michael R Sweet msweet at apple.com
Tue May 26 08:56:20 PDT 2009


lijews wrote:
> Hi,
> 
> I'm trying to set up two network printers: HP and Dell to work with HP as primary printer and Dell as a secondary. I'm mean, users generaly should print their documents on the HP, and Dell should be used only when HP is busy.
> I tried to organize both of the printers into class, but I observe strange behaviour: the first job is send to HP, and the next to Dell, then next to HP, and next to Dell, and so on, even when then on the HP is finished. I can even wait whole day, restart cups, and  the next job is still send to another printer, than the previous job.
> Even worse: I can switch off the HP (or Dell), so in cups it get status: not connected, and the job is send to this printer.
> I've tested it on cups 1.1 (suse10 SP2), cups 1.3 (sled 11) and cups 1.3 (gentoo).
> What can be wrong? I'm using AppSocket as a device uri.

Nothing is wrong - classes have no priorities, and when all printers
in the class are available we just cycle through them round-robin
style.  This is exactly as designed/intended.

There is a pending feature request to add an alternate mode:

     http://www.cups.org/str.php?L2878

Feel free to add your own comments to the bug.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list