[cups.general] Multiple queues for same printer
Michael Sweet
msweet at apple.com
Mon Nov 9 11:02:11 PST 2009
On Nov 9, 2009, at 10:29 AM, will nowak wrote:
> Hi,
>
> We've got a couple different queues (printer, printer-simplex, printer-duplex) primarily for lprng compatibility. (Clients printing via lpr in the old days used the -duplex and -simplex queues to have the appropriate duplex option set for them) Currently we have this implemented with several printers, all with the same backend but with different printer options set. This creates an interesting loophole for people wishing to skip a large queue on the -duplex queue, by printing to the normal queue with the option set themselves. Is there a way to create a virtual printer that sends its jobs to a different 'actual' printer with a few specific options set?
About the only thing you could do is add a raw queue pointing to the original one and then set different defaults, e.g.:
lpadmin -p myprinter-duplex -E -v ipp://localhost/printers/myprinter -o sides-default=two-sided-long-edge
However, the "CUPS way" of doing this is with local printer instances:
lpoptions -p myprinter/duplex -o sides=two-sided-long-edge
___________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups
mailing list