You are not logged in.
A HP USB printer without network card is connected to an old computer with CUPS 1.4.8 running Puppy Linux, and it is working. I am trying to share the printer with an Arch Linux client. I have
ServerName 192.168.0.11 /version=1.1 in /etc/cups/client.conf. I run CUPS server on the Arch Linux client too. "hplip" is installed on both computers. The cups remote administration works from both computers vice versa as well, so the IP address is correct. The printer is not discovered automatically. I have tried to add the printer with
ipp://192.168.0.11:631/printers/HP_Deskjet_1510_seriesand also using other protocols, but the printer is not responding to the Arch Linux client. Printer sharing is set up on the server, listen is set up for port 631.
Last edited by silent (2015-12-30 15:12:00)
Offline
Is there anything in the logs on the server or the client which shows any errors or warnings?
You can change /etc/cups/cupsd.conf LogLevel to debug and then restart the cups daemon (you could do this on both systems to see what is happening).
Are you using a "raw" queue on your client? https://bbs.archlinux.org/viewtopic.php?id=206669
Edit: just noticed that your post has a whitespace between "11" and "/version=1.1" - I don't think that should be there.
Last edited by paulkerry (2015-12-30 13:46:04)
Offline
Thank you for the answer. I enabled cups-browsed.service on the Arch Linux client and the printers on the Puppy Linux print server have been added automatically, but I still wasn't able to select them. I have turned off the firewall completely on Puppy Linux, and now I can print from the client. I thought that it would be enough to permit ports 161-162, but it appears that more is needed for printer sharing. How should the firewall be set up on the CUPS print server in order that printer sharing should work?
Offline
Glad it is working! You normally open port 631 (ipp) with tcp on the server to allow incoming cups requests.
According to /etc/services, port 161 is for snmp and 162 is for snmptrap, so I'm unsure why you would be using those?
Offline
According to /etc/services, port 161 is for snmp and 162 is for snmptrap, so I'm unsure why you would be using those?
Thank you for the answer. I have read that snmp is used by cups as printer discovery backend [link].
Offline
No problem and thanks for the link about snmp - for topic completeness, more info is available via...
man cups-snmp.confOffline