CUPS - having network AND local printers
I have a Laptop with cups and a printer installed on it. Now I have a different computer with cups and sharing a printer of the network.
To access the shared printer, I put this into the /etc/cups/client.conf of the Laptop:
Is the IP address 172.20.22.74 that of one physical printer or is the address of a CUPS server which advertises a queue for one or more network printers?
If 172.20.22.74 is just one physical printer then revert your /etc/cups/client.conf so that the server is 127.0.0.1 then you should be able to see your local printer again. Then use whatever tools your distro provides to add a new printer and say that the address of the printer is 172.20.22.74.
If however 172.20.22.74 is the address a CUPS server which advertises a queur for one or more network printers and you want access to all those pritners then it's a bit trickier. Unfortunately CUPS does not seem to have been designed with the scenario that people might want to have both a locally connected printer and printers advertised by a remote CUPS server available at the same time in mind. Or at least if it has I have never worked out how to do it nicely. The best solution I know is to use BrowsePoll. This means that you run a CUPS server locally on your machine and periodically asks other CUPS servers for a list of available printers. Look in cupsd.conf for mention of BrowsePoll and add the lines
Then find the reference to BrowseInterval and set it to something higher than the default 30 seconds. Unless you think asking the remote CUPS server for a list of printers every 30 seconds is sensible in which case leave that setting at the default. If you change the value of BrowseInterval then you will need to also change the value of BrowseTimeout to something higher than what you set BrowseInterval to.
You should then be able to see any printers set up locally and any printers available on the server at 172.20.22.74.
|All times are GMT -5. The time now is 06:47 AM.|