Hi all. I have 2 boxes both running suse. On the one with 10.2 version there is a printer hp laserjet 1020 installed and works ok. Now I would like to print to it from the secong pc, which runs on 11.1, so I added new class in cups web page of thre first pc and publihed the printer. But when I try to add new printer via cups on the second pc, it says the server with the specified ip con not be reached. I tried to stop firewall on both pcs, but still no success. I have no troubles with NFS file sharing between both pcs, so the printer sharing should work. How could i fix this. Thanks for your help.
> Hi all. I have 2 boxes both running suse. On the one with 10.2 version
> there is a printer hp laserjet 1020 installed and works ok. Now I would
> like to print to it from the secong pc, which runs on 11.1, so I added
> new class in cups web page of thre first pc and publihed the printer.
> But when I try to add new printer via cups on the second pc, it says the
> server with the specified ip con not be reached. I tried to stop
> firewall on both pcs, but still no success. I have no troubles with NFS
> file sharing between both pcs, so the printer sharing should work. How
> could i fix this. Thanks for your help.
In /etc/cups/cupsd.conf change
I shared an HP 1020 from Linux to Linux using Cups and IPP. I wrote it up here:
Printer Sharing: Suse/openSUSE 10.x 11.x IPP Print Server for Linux & Windows Clients
Thanks guys, I’ll try it when I get home
Uf, I still haven’t managed to make it work I’ve followed the tutorial which swerdna offered and is very good indeed. I have setup the /etc/cups/cupsd.conf and /etc/cups/mime.convs on the server side as suggested and can access the printer via http://192.168.1.10:631/printers/hp_laserjet_1020 from client and everything looks ok until you try to print something :), at that point cups on the client reports “/usr/lib/cups/filter/foomatic-rip failed” and the printer status changes to “stopped, accepting jobs, published.” with all the jobs still in spooler. It doesn’t help if I try to start printer from cups and try to print again. Firewalls are temporary disabled on both sides. Any suggestion highly appreciated.
Looks a bit like the driver is wrong. openSUSE’s driver for the HP1020 is wrong. Please describe how you installed the driver for the HP1020 on both the client and the server.
Yes, I thought about driver as well. On the server I firstly tried to use foo2zjs driver from foo2zjs: a linux printer driver for ZjStream protocolfor my laserjet 1020, but the printer didn’t want to work with it, then I did install hplip from yast and run hp-setup as root, which made my printer work. While on the client I couldn’t run hp-setup, since printer is not connected to it and neither cups doesn’t support exactly my model number, so during adding printer on the client via cups, I selected the other option which If I remember correctly is “Import from ppd file” and selected the correct file from foo2zjs package. Would it maybe help if I connected the printer temporary to the client and run hp-setup, and then moved it back to the server, I mean just to get the right drivers installed. Or is any other way to find out which driver hp-setup works with and then select it in import “Import from ppd file” option. Thanks again for your exauhsting help.
You can correctly install the driver to computers regardless of whether they have the printer attached if you follow the steps that I lay out here:
HowTo Install a HP LaserJet 1020 printer in Suse 10.x, 11.x
I had scrappy behaviour in Suse Linux 10.0 but no problems in 10.1,2,3 and 11.0,1. Try it, may be the problem.
swerdna thanks, I’ll try as suggested and report back.
Finally works I did install the foo2zjs drivers as swerdna recomended on the client, and was after that able to select the exact model in cups. But there was still a little modification needed: on the sever I had to uncomment back the line “application/octet-stream application/vnd.cups-raw 0 -” in /etc/cups/mime.convs otherwise the printer rejected the print jobs. Thanks again to all who hellped me make my remote printing possible