LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HP Printer doesn't work on Suse 9.0 (https://www.linuxquestions.org/questions/linux-newbie-8/hp-printer-doesnt-work-on-suse-9-0-a-898026/)

xpucto 08-18-2011 04:42 AM

HP Printer doesn't work on Suse 9.0
 
Hi!

I have the printer HPLaserjet1006 running on Suse9.0. I have installed foo2zjs. The printer is enabled and when I try to print something, the document is added in the queue and everything seems normal except that nothing is being printed, no matter how long I wait.
Since I don't have any error message anywhere, I don't know what to do. The printer works fine under XP on the same computer.
Any suggestion?

Thanks in advance.

gary185 08-18-2011 06:59 AM

first check the cups web interface to see what it says about if the printer instarted or stopped


printing in linux is always a bit of a struggle to setup
that printer requires some firmware yes ?
I think the firmware needs to be sent tio the printer everytime it's started
http://foo2zjs.rkkda.com/INSTALL
this is covered by the
make install-hotplug
step
exactly what steps did you take to get it set up to this point ?
did you do the step after make
./getweb P1006
then make install
then make install-hotplug
you have foomatic installed yes?

what do you get when you type
usb_printerid /dev/usb/lp0
you should see something in there like FWVER= (firmwareversion)


do you get anything in /var/log/messages when you plug and unplug the printer ?


you might have a bad udev rule getting in the way

Larry Webb 08-18-2011 07:11 AM

Try this, it is the latest driver package from hp

driver

xpucto 08-18-2011 07:59 AM

Quote:

Originally Posted by Larry Webb (Post 4446570)
Try this, it is the latest driver package from hp

driver

Thanks for the advice. I've looked on the website but they only offer something for Suse 11 and I use Suse9. I'll still give it a try.

xpucto 08-18-2011 08:07 AM

Quote:

Originally Posted by gary185 (Post 4446562)
first check the cups web interface to see what it says about if the printer instarted or stopped


printing in linux is always a bit of a struggle to setup
that printer requires some firmware yes ?
I think the firmware needs to be sent tio the printer everytime it's started
http://foo2zjs.rkkda.com/INSTALL
this is covered by the
make install-hotplug
step
exactly what steps did you take to get it set up to this point ?
did you do the step after make
./getweb P1006
then make install
then make install-hotplug
you have foomatic installed yes?

what do you get when you type
usb_printerid /dev/usb/lp0
you should see something in there like FWVER= (firmwareversion)


do you get anything in /var/log/messages when you plug and unplug the printer ?


you might have a bad udev rule getting in the way

Thanks for all the suggestions.

I did make all the "make install" stuffs. The printer is actually being detected but I dont't get any Firmware-info:
Code:

usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet P1006;CMD:ACL;CLS:PRINTER;DES:HP LaserJet P1006;

Looking in the logs as you told me gave me a bit of an answer though:
Code:

Aug 18 14:40:45 linux kernel: usb.c: USB device 3 (vend/prod 0x3f0/0x3e17) is not claimed by any active driver.
Aug 18 14:40:49 linux kernel: usb.c: registered new driver usblp
Aug 18 14:40:49 linux kernel: printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3E17
Aug 18 14:40:49 linux kernel: printer.c: v0.11: USB Printer Device Class driver
Aug 18 14:40:49 linux insmod: Using /lib/modules/2.4.21-297-athlon/kernel/drivers/usb/printer.o
Aug 18 14:40:49 linux insmod: Symbol version prefix ''
/etc/hotplug/usb/hpljP1006: foo2zjs: Missing HP LaserJet P1006 firmware file /usr/share/foo2xqx/firmware/sihpP1006.dl
/etc/hotplug/usb/hpljP1006: foo2zjs: ...read foo2zjs installation instructions and run ./getweb P1006
/etc/hotplug/usb/hpljP1006: foo2zjs: Missing HP LaserJet P1006 firmware file /usr/share/foo2xqx/firmware/sihpP1006.dl
/etc/hotplug/usb/hpljP1006: foo2zjs: ...read foo2zjs installation instructions and run ./getweb P1006

So i don't know why the file sihpP1006.dl is missing since I did all the foo2zjs installation and I don't know how to provide it. I'll research on the web but I'm thankful for any advice.

xpucto 08-18-2011 08:22 AM

ok. It seemed that I had forgotten to do
Code:

./getweb P1006
.
I did so but I now get a new kind of error messages:
Code:

Aug 18 15:12:43 linux kernel: hub.c: new USB device 00:02.2-2, assigned address 7
Aug 18 15:12:43 linux kernel: printer.c: usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3E17
/etc/hotplug/usb/hpljP1006: foo2zjs: loading HP LaserJet P1006 firmware /usr/share/foo2xqx/firmware/sihpP1006.dl to /dev/usb/lp0 ...
Aug 18 15:12:47 linux kernel: usb_control/bulk_msg: timeout
Aug 18 15:12:47 linux kernel: usbdevfs: USBDEVFS_CONTROL failed dev 7 rqt 128 rq 6 len 18 ret -110
Aug 18 15:12:47 linux kernel: usb_control/bulk_msg: timeout
Aug 18 15:12:47 linux kernel: usbdevfs: USBDEVFS_CONTROL failed dev 7 rqt 128 rq 6 len 18 ret -110
Aug 18 15:12:47 linux kernel: usb_control/bulk_msg: timeout
Aug 18 15:12:47 linux kernel: usbdevfs: USBDEVFS_CONTROL failed dev 7 rqt 128 rq 6 len 18 ret -110
Aug 18 15:12:47 linux kernel: usb_control/bulk_msg: timeout
Aug 18 15:12:47 linux kernel: usbdevfs: USBDEVFS_CONTROL failed dev 7 rqt 128 rq 6 len 18 ret -110
Aug 18 15:12:47 linux kernel: usb_control/bulk_msg: timeout
Aug 18 15:12:47 linux kernel: usbdevfs: USBDEVFS_CONTROL failed dev 7 rqt 128 rq 6 len 18 ret -110
Aug 18 15:12:47 linux kernel: usb_control/bulk_msg: timeout



All times are GMT -5. The time now is 07:21 PM.