CUPS Printing. Client can not connect?
I bought a new printer.
The old one was set up on my Mint-server, with cups, and I could print both directly on the server, and also connect and print from my clients(also linux). Connected the new printer via usb. Installed the correct driver(Brother), and I can print from the server. Fine. On my laptop: Removed the old printer. Searched for the new. Found it. Correct name and all. But when I try to print, it tells me that I am not connected? The printer just says idle/sleep. Connecting til [server]:631 (CUPS). It shows the printer, but sees nothing in the print queue. Can anyone help? Kind Regards Anders |
1) Can you tell us which CUPS versions are installed on both server and client? One way to get that info is to run the following on both machines...
Code:
cups-config --version 3) On your client, what is reported via Code:
lpinfo -v |
Please also show us the defined printer URI you have configured explicitly in the client...
Code:
lpstat -t |
Thanks for your quick reply :cool:!
Code:
[Server]:$ cups-config --version Code:
[Client]:$ cups-config --version Code:
[Client]:~$ lpinfo -v Code:
[Client]:~$ lpstat -t |
Ok, so your printer queue for the remote CUPS printer is using the dnssd backend ie using Avahi for printer discovery. The printer state is idle which is a good sign. I'm surprised that this is not working for you though. When you submit a print job, examine /var/log/cups/error_log for errors.
You could try configuring using the the ipp backend to reach the CUPS printer instead... Code:
ipp://IP address_of_CUPS_server/printers/Brother-HL-L2340D-series |
What I think is the best approach is to use the Avahi-based advertising/discovery (that CUPS now uses) with cups-browsed running on the client. This will create a local print queue automatically when the remote printer when is available. That's what I currently do.
|
Thank you so much, ferrari!
Will try when I get home later. I have very little experience with this print/cups/network-configuration, and i am quite confused about these different protocols, dnssd/ipp When searching for the printer on the network, I got 3 suggestions for that single printer. Guess it is the different protocols it offers? What is cups-browsed? A listening-deamon which is not included in the standard cups-packages? regards, Anders |
Let me know how you get on. So just to clarify, you have two choices here
1) Manually a local queue for the remote printer using the IPP backend (as explained already) or 2) Automate the remote discovery/configuration with the use of cups-browsed. This daemon can do a few things as described in 'man cups-browsed' Quote:
Assuming you're running Mint on your laptop... https://community.linuxmint.com/soft...w/cups-browsed If you need further assistance with this let me know which distro version you're using (as systemd changes the commands needed to get it enabled/started). |
All times are GMT -5. The time now is 08:19 AM. |