[cups.general] multiple queues, same printer

Dan Christensen jdc at uwo.ca
Tue Mar 15 06:27:53 PST 2005


What's the recommended way to set up multiple print queues pointing to
the same printer?  The idea is that the different queues will have
some options (print quality, color, etc) set differently.

I've read about "instances", which use a syntax like printer/foo at host,
but for backwards compatibility I'd like to be able to choose the
queue names (draft at host, best at host, etc).

I set things up by adding multiple printers to the system all using
the same device, and then used "lpadmin -o... ..." to set various
options, and this seems to work, but I wanted to make sure the
different queues wouldn't interfere with each other.

The first sentence is the main question, but here are some related
questions: 

2) Is there a way to set up aliases, so jobs sent to draft at host
go to epson860/draft at host, etc?  Then I would probably use
instances combined with aliases to achieve what I want...

3) Is there a way to duplicate an existing queue under a new name,
so that changes can be made to the copy?  Or, put another way, is
there a way to create a new printer, using another printer as a
base?

4) I created my initial printer using the web interface, and
selected my printer (an Epson Stylus Color 860) from the menus.
This put a file epson860.ppd in /etc/cups/ppd.  I'm curious
how I would have done this using the lpadmin command, since
I'm supposed to specify the ppd file, and I can't find where
this file was copied from on my system.  (I'm running Debian's
cupsys 1.1.23-4, in case it matters.)

To create my additional queues, I copied that file to files
of other names (matching the new queue names) and cups seems
to have found them, even though I didn't specify a -P option
on the lpadmin command line.

5) My printer is connected via USB.  For the first queue I created
(using the web interface) I selected "USB Printer #1" (or something
close to that) as the device.  After various fiddling, this now
shows up as

  Device URI: usb://EPSON/Stylus%20COLOR%20860

in the web interface, so that is the string I used for the
-v option to lpadmin when creating new printers.  I'm curious
how this is mapped to the actual device...

Also, I'm curious what "USB Printer #1" means?  If I had more
than one printer, is one of them assigned #1 and the next #2?

Thanks for any help, and sorry if some of this is documented.
I did scan the documentation, but have probably missed the relevant
parts. 

Dan





More information about the cups mailing list