HP LaserJet 1020 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Cups says "completed", But printer did not print anything. [solved]
Posted by: Sefid par ()
Date: July 14, 2015 12:03PM

I've installed foo2js using this instructions. I've added printer using CUPS from the instructions of the page.
Also I have done "cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0" which is said here.
But when I print a page using okular or cups (test page) itself, it first says "Sending to printer" and then says "Completed" but I do not see anything on printer.

Would you please help me?



Edited 1 time(s). Last edit at 08/06/2015 05:31AM by Sefid par.

Options: ReplyQuote
Re: Cups says "completed", But printer did not print anything.
Posted by: rickrich ()
Date: July 14, 2015 12:55PM

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

What does that say?

Options: ReplyQuote
Re: Cups says "completed", But printer did not print anything.
Posted by: Sefid par ()
Date: July 14, 2015 01:04PM

It says:
#usb_printerid /dev/usb/lp0

Error: Inappropriate ioctl for device: GET_DEVICE_ID on '/dev/usb/lp0'

kernel messages on USB plug:
usb 1-4: new high-speed USB device number 8 using ehci-pci
usb 1-4: New USB device found, idVendor=03f0, idProduct=2b17
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: HP LaserJet 1020
usb 1-4: Manufacturer: Hewlett-Packard
usb 1-4: SerialNumber: JL00ZPV
loading HP Device 001 008

Options: ReplyQuote
Re: Cups says "completed", But printer did not print anything.
Posted by: rickrich ()
Date: July 14, 2015 01:36PM

No idea.

$ cd foo2zjs
# make install
# make install-hotplug

Power cycle the printer.

# usb_printerid /dev/usb/lp0

What does that say?

From INSTALL:
HP LASERJET 1000/1005/1018/1020, P1005/P1006/P1007/P1008/P1505 NOTES
--------------------------------------------------------------------
    These printers need their firmware downloaded to them every time they
    are powered up.

        On Linux with USB connected printer:
            If you are running Linux and the printer is connected via USB, you
            can arrange for the firmware to be automatically downloaded to the
            printer by performing one more installation step:

            # make install-hotplug

            Power off then on the printer. Light should flash orange for
            ~5 seconds as the firmware is getting downloaded.

        On another OS or with a parallel port connected printer:

            You must send a firmware file to the printer each time you power it
            up.  If you downloaded the extra files for the HP above, a typical
            command line to load the firmware would be ONE of these:

            # cat /usr/share/foo2zjs/firmware/sihp1000.dl > /dev/usb/lp0
            # cat /usr/share/foo2zjs/firmware/sihp1005.dl > /dev/usb/lp0
            # cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/usb/lp0
            # cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0
            # cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/usb/lp0
            # cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/usb/lp0
            # cat /usr/share/foo2xqx/firmware/sihpP1505.dl > /dev/usb/lp0

            Light should flash orange for ~5 seconds as the firmware is
            getting downloaded.

        On Mac OS X:

            You must send a firmware file to the printer each time you power it
            up.  If you downloaded the extra files for the HP above, a typical
            command line to load the firmware would be:

                $ lp -oraw /usr/share/foo2zjs/firmware/sihp1018.dl
                $ lp -oraw /usr/share/foo2zjs/firmware/sihp1020.dl
                $ lp -oraw /usr/share/foo2xqx/firmware/sihpP1005.dl
                $ lp -oraw /usr/share/foo2xqx/firmware/sihpP1006.dl
                $ lp -oraw /usr/share/foo2xqx/firmware/sihpP1505.dl

            -OR-

                Add a line to /etc/rc.local and reboot:

                    killall osx-hplj-hotplug; \
                        osx-hplj-hotplug >/tmp/osx-hplj-hotplug 2>&1 &

            -OR-

                Issue a "make install-hotplug" command:

                $ sudo make install-hotplug

            Light should flash orange for ~5 seconds as the firmware is
            getting downloaded.

    Firmware Not Downloaded:
        # usb_printerid /dev/usb/lp0
        GET_DEVICE_ID string:
        MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS: PRINTER;\
                    DES:HP LaserJet 1020;

    Firmware Downloaded:
        # usb_printerid /dev/usb/lp0
        GET_DEVICE_ID string:
        MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS: PRINTER;\
                    DES:HP LaserJet 1020;FWVER:20050309;



Edited 1 time(s). Last edit at 07/14/2015 01:40PM by rickrich.

Options: ReplyQuote
Re: Cups says "completed", But printer did not print anything.
Posted by: Sefid par ()
Date: July 14, 2015 01:44PM

Thank you rickrich.
Te same error:

Error: Inappropriate ioctl for device: GET_DEVICE_ID on '/dev/usb/lp0'

Options: ReplyQuote
Re: Cups says "completed", But printer did not print anything.
Posted by: rickrich ()
Date: July 14, 2015 01:50PM

No idea.

Put it on a different USB controller
or change the cables
or put it on a *POWERED* hub
or change distros.

Options: ReplyQuote
Re: Cups says "completed", But printer did not print anything.
Posted by: Sefid par ()
Date: July 14, 2015 02:00PM

Would you mind give me a self guide?
I have checked cable with win**ws.
I like Slackware. I can not...! I think I can Never change it. I have tried several times.

Options: ReplyQuote
Re: Cups says "completed", But printer did not print anything.
Posted by: Sefid par ()
Date: August 06, 2015 05:29AM

I don't know what was done exactly.
I've changed the usb port and the LED started blinking. Then, I could print my page correctly.

Thanks a lot for your help.
Thanks Slackware too :D

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.