individual printer lists
pipitas
k1pfeifle at gmx.net
Sun Oct 3 08:56:57 PDT 2004
pipitas wrote:
> Anonymous wrote:
>
>> I have a large Linux terminal (about 100 terminals) installation at my
>> school.
[....]
>> It is getting to the point where the printer list is getting
>> unmanageable.
>> I am wondering if there is a way to provide individuals with custom
>> printer lists?
>> Any help or thoughts are appreciated.
>
> Find more details here:
>
> http://printing.kde.org/faq/kdeprint.php#IsKDEPrintforKDEusageonly
Ah ... I hit the "Send" button before finishing off....
Another option is to configure a cupsd for each client terminal.
Assuming your cupsserver has printer_A, printer_B etc.
Then install the printers like that:
Client_1 (disable browsing):
lpdamin -p printer_A -v ipp://cupsserver:631/printers/printer_A
lpdamin -p printer_B -v ipp://cupsserver:631/printers/printer_B
Client_2 (disable browsing):
lpdamin -p printer_C -v ipp://cupsserver:631/printers/printer_C
lpdamin -p printer_D -v ipp://cupsserver:631/printers/printer_D
lpdamin -p printer_E -v ipp://cupsserver:631/printers/printer_E
Client_1 will only see *_A and *_B, Client_2 will see *_C, *_D
and *_E.
This can even be automated and set up by a script. You can
"remote-push" the client printer installations by executing these
commands from some other host (assuming you have the privileges to
install printers on the clients):
* for Client_1 (disable browsing):
lpdamin -h Client_1 -p printer_A -v ipp://cupsserver:631/printers/printer_A
lpdamin -h Client_1 -p printer_B -v ipp://cupsserver:631/printers/printer_B
* for Client_2 (disable browsing):
lpdamin -h Client_2 -p printer_C -v ipp://cupsserver:631/printers/printer_C
lpdamin -h Client_2 -p printer_D -v ipp://cupsserver:631/printers/printer_D
lpdamin -h Client_2 -p printer_E -v ipp://cupsserver:631/printers/printer_E
I hope this helps.
Cheers,
Kurt
More information about the cups
mailing list