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 ========================================================================