Network printing

Kurt Pfeifle kpfeifle at danka.de
Fri Jun 23 11:45:54 PDT 2006


csarid at yahoo.com <csarid at yahoo.com> wrote (Friday 23 June 2006 19:57):

> I have a cups server setup on one subnet and all linux machines on that
> subnet are able to browse and share the printers from that server
> automatically. however, I have a group of other linux machines on a
> completely different subnet and those machines are not able to browse
> accross the subnet to see the printers. 

If you're on CUPS 1.2.x, look at

   http://localhost:631/help/ref-cupsd-conf.html?TOPIC=References

If you're on CUPS 1.1.x, look at

   http://localhost:631/sam.html

Search for the keywords "BrowsePoll" and "BrowseRelay"

You have different options:

  a) let each of the machines in the different subnet do "BrowsePoll"
     for itself. Puts additional load on the CUPS server for each 
     separate client polling

  b) let one or few clients in the subnet do "BrowsePoll" and at the
     same time "BrowseRelay" to their own subnet. Requires these 
     clients to be more or less continuously up.

Example for client whose assumed IP address is 10.162.0.56/255.255.255.0
polling CUPS server 192.168.34.56

  BrowsePoll 192.168.34.56:631
  BrowseRelay 127.0.0.1 10.162.0.255

All clients on net 10.162.0.[1-254] should see and be able to use all
printers now (if the CUPS server accepts the clients, that is...)

Cheers,
Kurt




More information about the cups mailing list