You are not logged in.

#1 2015-12-29 21:54:51

silent
Member
Registered: 2008-08-05
Posts: 57

[SOLVED]Printer sharing with Arch Linux client -printer not responding

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_series

and 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

#2 2015-12-30 12:55:50

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED]Printer sharing with Arch Linux client -printer not responding

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

#3 2015-12-30 14:16:16

silent
Member
Registered: 2008-08-05
Posts: 57

Re: [SOLVED]Printer sharing with Arch Linux client -printer not responding

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

#4 2015-12-30 14:28:48

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED]Printer sharing with Arch Linux client -printer not responding

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

#5 2015-12-30 15:06:32

silent
Member
Registered: 2008-08-05
Posts: 57

Re: [SOLVED]Printer sharing with Arch Linux client -printer not responding

paulkerry wrote:

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

#6 2015-12-30 15:43:12

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED]Printer sharing with Arch Linux client -printer not responding

No problem and thanks for the link about snmp - for topic completeness, more info is available via...

man cups-snmp.conf

Offline

Board footer

Powered by FluxBB