xtin
26-03-2007, 20:03
Hi
Ok, there were others facing the same Problem. How to get a HP Printer to work.
What i did so far:
- i tried the standard method implemented, which seems to work fine from the logs, yet the printer doesnt do a thing.
(logread reads:
Mar 26 19:28:48 printd[724]: Create job 3 file /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 print queue OfficeJet-G55
Mar 26 19:28:48 printd[724]: Start job 3 file /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 print queue OfficeJet-G55 pid 1260
Mar 26 19:28:48 printjob[1260]: Startup
Mar 26 19:28:48 printjob[1260]: Print /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 to /dev/usb/lp0
Mar 26 19:28:49 printjob[1260]: Shutdown
Mar 26 19:28:53 printd[724]: Harvest job 3 file /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 print queue OfficeJet-G55 pid 1260
Mar 26 19:28:53 printd[724]: Destroy job 3 file /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 print queue OfficeJet-G55
)
- installed cups with ipkg
- adding the printer ppd file to cups
- installed the printer (now automatically recognized)
- it gets the following address: usb://HP/OfficeJet%20G55?serial=SGA03103Q3VL
- when i try to print the testpage out of cups i get "/opt/lib/cups/filter/foomatic-rip failed"
- some googling tells me, that i should do:
ln -s /opt/bin/gs /bin/gs
ln -s /opt/bin/hpijs /bin/hpijs
(http://www.nslu2-linux.org/wiki/HowTo/HPIJS)
- so there i am stuck, because i cannot write to /bin => there's the question to kfurge wheter /bin/gs and /bin/hpijs could be symlinked to /tmp/gs and /tmp/hpijs in the image, so we can link it via rc.local (altough i'm not sure this would resolve the base problem ... :( )
Then i tried to print directly via console:
lpr -Plp0 somepsfile.ps
Printer wasn't doing a thing.
Next i installed the printer via the ipp adress on my linux machine
I tried all the avaiable drivers (hpijs, gutenprint, ...) but none worked, the printer stays silent. Reading /opt/var/log/cups/error_log after setting loglevel to "debug", didn't made me any smarter.
It looks like the data is actually sent to the printer and the task ends successfully - yet the printer does nothing :(
Conclusion:
I'm out of ideas. Printd and Cups seem to work ok, yet nothing happens - no matter what printing method i use.
Thanks for your help & time!
(The Printer works fine locally via USB on Windows and Gnome)
Ok, there were others facing the same Problem. How to get a HP Printer to work.
What i did so far:
- i tried the standard method implemented, which seems to work fine from the logs, yet the printer doesnt do a thing.
(logread reads:
Mar 26 19:28:48 printd[724]: Create job 3 file /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 print queue OfficeJet-G55
Mar 26 19:28:48 printd[724]: Start job 3 file /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 print queue OfficeJet-G55 pid 1260
Mar 26 19:28:48 printjob[1260]: Startup
Mar 26 19:28:48 printjob[1260]: Print /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 to /dev/usb/lp0
Mar 26 19:28:49 printjob[1260]: Shutdown
Mar 26 19:28:53 printd[724]: Harvest job 3 file /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 print queue OfficeJet-G55 pid 1260
Mar 26 19:28:53 printd[724]: Destroy job 3 file /shares/MYVOLUME1/__var/spool/samba/smbprn.00000003.oatJN8 print queue OfficeJet-G55
)
- installed cups with ipkg
- adding the printer ppd file to cups
- installed the printer (now automatically recognized)
- it gets the following address: usb://HP/OfficeJet%20G55?serial=SGA03103Q3VL
- when i try to print the testpage out of cups i get "/opt/lib/cups/filter/foomatic-rip failed"
- some googling tells me, that i should do:
ln -s /opt/bin/gs /bin/gs
ln -s /opt/bin/hpijs /bin/hpijs
(http://www.nslu2-linux.org/wiki/HowTo/HPIJS)
- so there i am stuck, because i cannot write to /bin => there's the question to kfurge wheter /bin/gs and /bin/hpijs could be symlinked to /tmp/gs and /tmp/hpijs in the image, so we can link it via rc.local (altough i'm not sure this would resolve the base problem ... :( )
Then i tried to print directly via console:
lpr -Plp0 somepsfile.ps
Printer wasn't doing a thing.
Next i installed the printer via the ipp adress on my linux machine
I tried all the avaiable drivers (hpijs, gutenprint, ...) but none worked, the printer stays silent. Reading /opt/var/log/cups/error_log after setting loglevel to "debug", didn't made me any smarter.
It looks like the data is actually sent to the printer and the task ends successfully - yet the printer does nothing :(
Conclusion:
I'm out of ideas. Printd and Cups seem to work ok, yet nothing happens - no matter what printing method i use.
Thanks for your help & time!
(The Printer works fine locally via USB on Windows and Gnome)