One printer with two names (printer aliasing)

Helge Blischke h.blischke at srz.de
Thu Feb 24 05:19:58 PST 2005


Have you thought of using classes ?

Helge


David Landgren wrote:
> 
> I have a number of HP Laserjet printers in remote locations. There are various models, from the 2280, up to the 2100, 2200, 2300 and undoubtedly the 2420 in the future. I have Samba networks that use CUPS to access these printers.
> 
> I also have an central application that has basic printing needs. So basic, that it is quite sufficient to use the HP LaserJet 4 printer driver and the results are adequate.
> 
> My initial plan was to create the printer once, with I call its canonical name, and uses the correct drivers (delivered by Samba). This is needed because other applications, notably MS Office will do weird things with margins and embedded images if the right printer driver is not used.
> 
> I then create the printer a second time, with a generic name, that is the same in all remote offices. Samba would install the HP LaserJet 4 driivers for this one. This makes installation dead simple.
> 
> The trouble is, it doesn't work. If two people print at the same time, one to the canonical name of the printer, and one to the generic name of the printer, CUPS gets confused and both printers in the status page report that the "printer is busy, will retry in 30 seconds". And nothing gets printed.
> 
> 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?)
> 
> Thanks in advance for any suggestions you might have.

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




More information about the cups mailing list