One printer with two names (printer aliasing)

Helge Blischke h.blischke at srz.de
Tue Mar 1 05:01:18 PST 2005


David Landgren wrote:
> 
> > Have you thought of using classes ?
> 
> Um, actually, no. I had never looked closely at the documentation regarding classes until you suggested this.
> 
> Now that I have looked, I'm still a bit puzzled. It looks like classes are used to allow you to print to a "virtual" printer, and from there CUPS delivers the job to any printer that is defined in the class.
> 
> That's not what I want, I want two different streams to be sent to the same printer. If classes will allow me to do so, could you sketch out how I might go about doing so, because I get no clues from the documentation.
> 
> Thanks,
> David
> 
> > Helge
> >
> >
> > David Landgren wrote:
> > >
> [...]
> 
> > > So, obviously I can't do it that way. My question is therefore, is there another way in CUPS to create two aliases to the same printer? (Or should I go and take this question to the samba mailing list?)

You easily may define two (or more) classes which have the same real
printer
as their (only) member.

And, of course, you may define different printers the device-URI of
which 
point to the very same real device.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list