browsing printers

Kurt Pfeifle kpfeifle at danka.de
Wed Aug 23 08:59:10 PDT 2006


Michael De Vlaminck <michael.devlaminck at cs.kuleuven.be> wrote (Wednesday 23 August 2006 16:52):

> Kurt Pfeifle wrote:

>> What you can do with 1.2.x currently is this:
>> 
>>  * sharing/browsing on a per-printer basis to the print clients

> how exactly do I do this?

On a 1.2 system, have a look at

http://localhost:631/help/ref-printers-conf.html?TOPIC=References&QUERY=#Shared

Assuming you have 4 printers already installed, with the names used 
below, you'd basically issue these commands:

   /usr/sbin/lpadmin -p my_shared_printer1 -o printer-is-shared=true
   /usr/sbin/lpadmin -p my_shared_printer2 -o printer-is-shared=true

   /usr/sbin/lpadmin -p my_privat_printer1 -o printer-is-shared=false
   /usr/sbin/lpadmin -p my_privat_printer2 -o printer-is-shared=false

>>  * but once a printer is up for browsing, it can be seen by *all*

> what do you mean with "up for browsing"?

The clients would only see "my_shared_printer*"s, but not the "*privat*"
ones (regardless wether they'd poll the server, or get the printer infos
via browsing info pushed by the CUPS server.

The private ones can only be used by local users on CUPS server.

> thanks
> Michael De Vlaminck

Cheers, Kurt


>>    clients  (not just a certain group of clients)
>> 
>> Maybe it helps you already this way? (In case the printers you don't
>> want to be browsed are used only via local users).
>> 
>> Cheers,
>> Kurt
>>





More information about the cups mailing list