I have a SuSE 9.2 Pro server with a printer attached to its LPT port nd configured via CUPS as a full server installation. I have tested the printer via YAST and I get the ASCII characters test print. On the SuSE 9.0 Pro client, I have a CUPS client side install only and have tried to configure it to use the server configured printer. Alas NO Luck, even after specifying the server as 192.168.0.1/dev/lp0(Should that perhaps be //192.168.0.1/dev.lp0?). I have tried searching for IPP hosts and all hosts but cannot seem to get the client to recognize/communicate with the server CUPS install and let it use the servers printer. I have been through the firewall settings on the server to check that it wasn't being restricted and have also pinged the server->client and client->server. How should I go about and test to find out where the error is? ie perhaps start a client side test print and then when it fails where should I look as the entries in /var/log/cups have not changed at all whilst I have been testing and trying to get printing working. Can printer sharing be done between Linux boxen on the same private network(192.168.0.1 and 192.168.0.2)? I would certainly think so. P,S,L No online updates have been done to the 9.0 box, as I am on dialup and it is more than painful to be unemployed and have to sit through a 2-3 hr download. -- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
On Thu, Apr 07, 2005 at 07:00:04PM +0200, Hylton Conacher (ZR1HPC) wrote:
I have a SuSE 9.2 Pro server with a printer attached to its LPT port nd configured via CUPS as a full server installation. I have tested the printer via YAST and I get the ASCII characters test print.
On the SuSE 9.0 Pro client, I have a CUPS client side install only and have tried to configure it to use the server configured printer. Alas NO Luck, even after specifying the server as 192.168.0.1/dev/lp0(Should that perhaps be //192.168.0.1/dev.lp0?). I have tried searching for IPP hosts and all hosts but cannot seem to get the client to recognize/communicate with the server CUPS install and let it use the servers printer.
Make sure that CUPS server allows connections from the network.
Look at the the file /etc/cups/cupsd.conf, section
I have been through the firewall settings on the server to check that it wasn't being restricted and have also pinged the server->client and client->server.
All you need on the firewall is TCP port 631.
How should I go about and test to find out where the error is? ie perhaps start a client side test print and then when it fails where should I look as the entries in /var/log/cups have not changed at all whilst I have been testing and trying to get printing working.
Check the files in /var/log/cups on the server
Can printer sharing be done between Linux boxen on the same private network(192.168.0.1 and 192.168.0.2)? I would certainly think so.
I am successfully sharing a parallel port printer connected to 9.2 machine. The clients are SUSE 9.2 and Mac OSX. -Kastus
Still a no-go :( Comments below. Kastus wrote:
On Thu, Apr 07, 2005 at 07:00:04PM +0200, Hylton Conacher (ZR1HPC) wrote:
I have a SuSE 9.2 Pro server with a printer attached to its LPT port nd configured via CUPS as a full server installation. I have tested the printer via YAST and I get the ASCII characters test print.
On the SuSE 9.0 Pro client, I have a CUPS client side install only and have tried to configure it to use the server configured printer. Alas NO Luck, even after specifying the server as 192.168.0.1/dev/lp0(Should that perhaps be //192.168.0.1/dev.lp0?). I have tried searching for IPP hosts and all hosts but cannot seem to get the client to recognize/communicate with the server CUPS install and let it use the servers printer.
Make sure that CUPS server allows connections from the network. Look at the the file /etc/cups/cupsd.conf, section
. There should be a line similar to "Allow From 192.168.0.*" it that section, otherwise network connections will be denied. Added the above line on the server. Funny, I thought YAST would have done that.
I have been through the firewall settings on the server to check that it wasn't being restricted and have also pinged the server->client and client->server.
All you need on the firewall is TCP port 631. I checked and notice that only eth0(local network) is open to the printer and that the checkbox on YAST shows that a port is open. Whether or not it is 631, I dunno, although I would assume so.
How should I go about and test to find out where the error is? ie perhaps start a client side test print and then when it fails where should I look as the entries in /var/log/cups have not changed at all whilst I have been testing and trying to get printing working.
Check the files in /var/log/cups on the server Nothing seems to show there although perhaps it would if I knew what I was looking for :)
Can printer sharing be done between Linux boxen on the same private network(192.168.0.1 and 192.168.0.2)? I would certainly think so.
I am successfully sharing a parallel port printer connected to 9.2 machine. The clients are SUSE 9.2 and Mac OSX. Lucky man. I still sit with 2 machines and one printer and can't seem to get them to play nicely together.
Is the /etc/cups/cupsd.conf file the only one I need/should be looking at? Perhaps what I need to do is open the file on the server and edit it directly and then do a similar 'client' edit on the client side. -- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
On Tue, 19 Apr 2005 15:41, Hylton Conacher (ZR1HPC) wrote:
Still a no-go :( Comments below.
A while back I wrote up a Howto on setting up CUPS for Client/Server operation. I believe that the information is still relevant in getting printing working. Please have a look at it at http://susefaq.sourceforge.net/faq/cups.html Note: I generally use the IP numbers for the Servername in both the /etc/cups/client.conf and the /etc/cups/cupsd.conf as it then doesn't rely on entries in /etc/hosts or setting up a internal DNS server to do the conversion. -- Regards, Graham Smith
On Tue, 19 Apr 2005 15:41, Hylton Conacher (ZR1HPC) wrote:
Still a no-go :( Comments below.
A while back I wrote up a Howto on setting up CUPS for Client/Server operation. I believe that the information is still relevant in getting printing working. Please have a look at it at http://susefaq.sourceforge.net/faq/cups.html Thanks for that Graham. I read it and looked at both the cupsd.conf on
Graham Smith wrote: the server and the client.conf on the client and didn't, to my limited knowledge, see anything missing as such.
Note: I generally use the IP numbers for the Servername in both the /etc/cups/client.conf and the /etc/cups/cupsd.conf as it then doesn't rely on entries in /etc/hosts or setting up a internal DNS server to do the conversion.
I have the IP listed as the servername that the client is printing to but it doesn't help. :( After a few changes of the above files now not even the IP works as a hostname. :( I notice that in the client.conf you mention that the #ServerName has to be a FQDN. I only have the IP address of the server. The IP range is in the 192.168 range and there is no FQDN at all. I have entered a fake one ie <hostname>.home.net.za but should I rather leave it as the IP address? Just reading my 9.0 admin manual and it says that the client and server communicate via IPP and that the server broadcasts its status every 30 seconds. I haven't seen the network lights flashing at all, let alone every 30 secs. Perhaps the IPP broadcast isn't happening? Where/which file can I edit to check it is working, or is it controlled by some almost non existent sys/config file? Does root need to be logged on the server for CUPS to function or can the host just be powered on and waiting at the KDE login manager? Its almost as though the client cannot detect the CUPS server either because the server is not IPP'ing or, using Windows terminology, the printer isn't available or shared. I've missed something somewhere!! Shall I send my 2 files to the list? Further ideas Kastus, Graham, anyone?? -- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
Hylton Conacher (ZR1HPC) wrote:
I have the IP listed as the servername that the client is printing to but it doesn't help. IP is OK I have entered a fake one ie <hostname>.home.net.za but should I rather leave it as the IP address?
leave it as IP.
I haven't seen the network lights flashing at all, let alone every 30 secs. Perhaps the IPP broadcast isn't happening? Do you run a firewall? Is tcp 631 open? Does root need to be logged on the server for CUPS to function or can the host just be powered on and waiting at the KDE login manager?
If it is set to start on boot, it will start on boot no matter if anyone is logged in. It runs as lp user.
Its almost as though the client cannot detect the CUPS server either because the server is not IPP'ing or, using Windows terminology, the printer isn't available or shared.
Cups is quite easy when properly configured to work over a network. There are some excellent articles by Johannes Meixner in the support database for getting cups working. I would suggest reading through them if you are having problems. He gives some very helpful command line tools that are actually more helpful when you have problems. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
Hello, regarding "Networking CUPS" see http://portal.suse.com/sdb/en/2004/05/jsmeix_print-cups-in-a-nutshell.html Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
Tnx Kastus and Johannes, I look at both of your suggestions and report back. Hylton Conacher (ZR1HPC) wrote:
I have a SuSE 9.2 Pro server with a printer attached to its LPT port nd configured via CUPS as a full server installation. I have tested the printer via YAST and I get the ASCII characters test print. .....[SNIP}
-- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
participants (5)
-
Graham Smith
-
Hylton Conacher (ZR1HPC)
-
Joe Morris (NTM)
-
Johannes Meixner
-
Kastus