Hi,
On 3 June 2010 11:51, nev young nev@nevilley.demon.co.uk wrote:
On 03/06/10 10:17, Srdjan Todorovic wrote:
Been having problems figuring out how to print to a remote CUPS server. Followed a couple of "tutorials" [1] and spoke to people in #cups but nothing seems to help.
Environment: - Fedora Core 6 machine "A" (CUPS server, CUPS 1.4.x) - Fedora Core 6 machine "B" (CUPS client, CUPS 1.2.x) - USB printer
ASCII Art: [B]--------[A]-----[Printer]
Goal: Enable machine B to print to the Printer, using the CUPS server on A.
This is almost what I have.
ASCII Art:
[B] --------[A]-----[lp1] [C] ----/ --[lp2]
All I had to do to make it work was define the printers to CUPS on server [A] and run the command:
sudo iptables -A INPUT -p tcp --dport 631 -j ACCEPT
to open the firewalls on the server and both clients.
I dont think it's a firewall issue. I have straced lpstat and can see that it connects ok to the remote CUPS server.
Could you please email me your cups server config file? I think that could be very useful to determine if I've got a configuration error.
Another thing I have thought of trying was to get the same version of CUPS on both machines - but I find it hard to believe that the CUPS developers would have released a newer version of CUPS in the same major release that would have broken the inter-CUPS protocols.
Thanks, Srdjan