It seems that CUPS classes are exactly the opposite of what I want.
Classes let you access multiple physical printers by a single name (like a printer pool).
I need to access a single printer by multiple names.
- Dan
________________________________________
From: Platform Independent Linux List! [[log in to unmask]] On Behalf Of David Nessl [[log in to unmask]]
Sent: Wednesday, January 27, 2010 5:50 PM
To: [log in to unmask]
Subject: Re: CUPS printer aliases?
CUPS handles this in more of a SysV style: Create one printer for each physical printer, then create a printer class for each alias, where each class contains a single member that is a previously-defined physical printer name. (This also lets you do cool things like set different option defaults per alias name.)
-david
On Wed, Jan 27, 2010 at 5:05 PM, Dan Stoner <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Hello,
I am migrating an old server with lp printers to a new server with CUPS.
On old server, the /etc/printcap file specified various aliases that could be used for the same printer. For example:
# first printer
lp|hp3ps|lp0|ps|ps0|ps3|txt3:\
# second printer
lp1|ps1:\
# third printer....
Those aliases are used heavily by various production scripts and commands such as 'enscript' and 'lp'.
On the new server I have confirmed that enscript and lp are able to use a CUPS printer by name such as HP8150DN.
# enscript -dHP8150DN test.txt
Does CUPS have a way to alias multiple printer names onto the same printer?
Thanks,
Dan Stoner
IT Senior
Children's Oncology Group
University of Florida
Email: [log in to unmask]<mailto:[log in to unmask]>
Office: (352) 273-0554
|