HP LaserJet 1020 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Pages: 12Next
Current Page: 1 of 2
Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 20, 2013 10:26AM

Hi,

I have upgraded from FC 16 to Fc 18, I am unable to download foo2zjs for FC 18.

Rgds
Raghu



Edited 2 time(s). Last edit at 02/21/2013 07:57PM by rickrich.

Options: ReplyQuote
Re: Ugraded from FC 16 to FC 18
Posted by: rickrich ()
Date: February 20, 2013 10:49AM

$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
--2013-02-20 09:47:23--  http://foo2zjs.rkkda.com/foo2zjs.tar.gz
Resolving foo2zjs.rkkda.com... 74.208.41.246
Connecting to foo2zjs.rkkda.com|74.208.41.246|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1646222 (1.6M) [application/x-tar]
Saving to: “foo2zjs.tar.gz”

100%[======================================>] 1,646,222    445K/s   in 3.6s    

2013-02-20 09:47:27 (445 KB/s) - “foo2zjs.tar.gz” saved [1646222/1646222]

Works good here. What is the problem?

Options: ReplyQuote
Re: Ugraded from FC 16 to FC 18
Posted by: raghy.rao ()
Date: February 20, 2013 01:19PM

Here is the output
------------------------------------------------------------------------------
D [20/Feb/2013:23:46:47 +0530] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
...CUPS log snipped...
W [20/Feb/2013:23:46:47 +0530] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-HP-LaserJet-1020' already exists
-------------------------------------------------------------------
it would not print

Raghu



Edited 1 time(s). Last edit at 02/20/2013 08:55PM by rickrich.

Options: ReplyQuote
Re: Ugraded from FC 16 to FC 18
Posted by: rickrich ()
Date: February 20, 2013 01:57PM

What does:

$ 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;

say?

Options: ReplyQuote
Re: Ugraded from FC 16 to FC 18
Posted by: rickrich ()
Date: February 20, 2013 07:46PM

Never mind. From the Changelog:
2013-02-20      Rick Richardson <rick.richardson@comcast.net>
        * install-hotplug: Fedora 18 changed "/usr/lib/udev/udevd"
            to "/usr/lib/systemd/systemd-udevd".

Please re-download and make install-hotplug. Otherwise, udevd version defaults to 0 instead of 197!

Options: ReplyQuote
Re: Ugraded from FC 16 to FC 18
Posted by: raghy.rao ()
Date: February 20, 2013 08:42PM

Here is the output

-----------------------------------------------------------------------------------
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;DES:HP LaserJet 1020;


------------------------------------------------------------------------------------

Options: ReplyQuote
Re: Ugraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 21, 2013 02:47AM

when I run system-config-printer , the GUI comes up , but does not permit me to do anything

Options: ReplyQuote
Re: Ugraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 21, 2013 05:42AM

From INSTALL:
Create printers (command line using CUPS)
    # lpadmin -p NAME -v URI -E -P file.ppd
    i.e.
        # lpadmin -p hp1020 -v usb://HP/LaserJet%201020 -E \
            -P /usr/share/cups/model/HP-LaserJet_1020.ppd.gz
    Set the default:
        # lpadmin -d NAME



Edited 3 time(s). Last edit at 02/21/2013 02:29PM by rickrich.

Options: ReplyQuote
Re: Ugraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 21, 2013 08:34AM

ldadmin -p NAME -d return as below:
-----------------------------------------------

ldadmin: command not found...
-----------------------------------

Options: ReplyQuote
Re: Ugraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 21, 2013 09:04AM

lpadmin -d NAME

i.e.

lpadmin -d hp1020

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 22, 2013 09:41PM

Reinstalled , but here is the output

------------------------------------------------------------------------------------
usb_printerid /dev/usb/lp0
Error: No such file or directory: can't open '/dev/usb/lp0'
------------------------------------------------------------------------------

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 22, 2013 10:09PM

out put from foo2zjs directory
----------------------------------------------------------------------------------

... snipped ...
-rw-rw-r--. 1 500 500 51903 Feb 20 19:05 Makefile
... snipped ...

----------------------------------------------------------------------------------



Edited 1 time(s). Last edit at 02/22/2013 10:22PM by rickrich.

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 22, 2013 10:19PM

Did do you:

# make install

and

# make install-hotplug

???

Power down and up the printer.

What does:

# dmesg | grep usb

say?

What does:

# grep foo2zjs /var/log/messages

say?



Edited 1 time(s). Last edit at 02/22/2013 10:21PM by rickrich.

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 23, 2013 04:49AM

Here is the out put


------------------------------------------------------------------------------------
[ 0.199952] ACPI: bus type usb registered
[ 0.199967] usbcore: registered new interface driver usbfs
[ 0.199973] usbcore: registered new interface driver hub
[ 0.199987] usbcore: registered new device driver usb
[ 1.648709] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.648711] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.648713] usb usb1: Product: EHCI Host Controller
[ 1.648714] usb usb1: Manufacturer: Linux 3.7.9-201.fc18.x86_64 ehci_hcd
[ 1.648715] usb usb1: SerialNumber: 0000:00:12.2
[ 1.654681] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.654683] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.654684] usb usb2: Product: EHCI Host Controller
[ 1.654686] usb usb2: Manufacturer: Linux 3.7.9-201.fc18.x86_64 ehci_hcd
[ 1.654687] usb usb2: SerialNumber: 0000:00:13.2
[ 1.709594] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.709597] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.709599] usb usb3: Product: OHCI Host Controller
[ 1.709600] usb usb3: Manufacturer: Linux 3.7.9-201.fc18.x86_64 ohci_hcd
[ 1.709602] usb usb3: SerialNumber: 0000:00:12.0
[ 1.764489] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.764492] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.764494] usb usb4: Product: OHCI Host Controller
[ 1.764495] usb usb4: Manufacturer: Linux 3.7.9-201.fc18.x86_64 ohci_hcd
[ 1.764497] usb usb4: SerialNumber: 0000:00:12.1
[ 1.819378] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.819381] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.819383] usb usb5: Product: OHCI Host Controller
[ 1.819384] usb usb5: Manufacturer: Linux 3.7.9-201.fc18.x86_64 ohci_hcd
[ 1.819385] usb usb5: SerialNumber: 0000:00:13.0
[ 1.874271] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.874274] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.874276] usb usb6: Product: OHCI Host Controller
[ 1.874277] usb usb6: Manufacturer: Linux 3.7.9-201.fc18.x86_64 ohci_hcd
[ 1.874279] usb usb6: SerialNumber: 0000:00:13.1
[ 1.929177] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.929181] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.929182] usb usb7: Product: OHCI Host Controller
[ 1.929184] usb usb7: Manufacturer: Linux 3.7.9-201.fc18.x86_64 ohci_hcd
[ 1.929185] usb usb7: SerialNumber: 0000:00:14.5
[ 1.929390] usbcore: registered new interface driver usbserial
[ 1.929395] usbcore: registered new interface driver usbserial_generic
[ 1.929400] usbserial: USB Serial support registered for generic
[ 1.930346] usbcore: registered new interface driver usbhid
[ 1.930347] usbhid: USB HID core driver
[ 2.001019] usb 1-6: new high-speed USB device number 3 using ehci_hcd
[ 2.140001] usb 1-6: New USB device found, idVendor=03f0, idProduct=2b17
[ 2.140008] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.140014] usb 1-6: Product: HP LaserJet 1020
[ 2.140019] usb 1-6: Manufacturer: Hewlett-Packard
[ 2.140023] usb 1-6: SerialNumber: JL2S3FC
[ 2.404171] usb 4-2: new low-speed USB device number 2 using ohci_hcd
[ 2.556945] usb 4-2: New USB device found, idVendor=093a, idProduct=2510
[ 2.556956] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.556964] usb 4-2: Product: USB Optical Mouse
[ 2.556969] usb 4-2: Manufacturer: PixArt
[ 2.564481] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:12.1/usb4/4-2/4-2:1.0/input/input3
[ 2.564700] hid-generic 0003:093A:2510.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:12.1-2/input0
[ 14.120791] usblp 1-6:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
[ 14.121951] usbcore: registered new interface driver usblp
[ 97.601915] usblp0: removed
[ 245.663079] usb 1-6: USB disconnect, device number 3
[ 247.338919] usb 1-6: new high-speed USB device number 4 using ehci_hcd
[ 247.474583] usb 1-6: New USB device found, idVendor=03f0, idProduct=2b17
[ 247.474595] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 247.474602] usb 1-6: Product: HP LaserJet 1020
[ 247.474608] usb 1-6: Manufacturer: Hewlett-Packard
[ 247.474613] usb 1-6: SerialNumber: JL2S3FC
[ 247.478971] usblp 1-6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

-----------------------------------------------------------------------------

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 23, 2013 05:05AM

What does:

# grep foo2zjs /var/log/messages

say?

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 23, 2013 07:00AM

Here is the output


-----------------------------------------------------------------------------------
Feb 23 08:02:05 RAGHU /etc/hotplug/usb/hplj1020: foo2zjs: loading HP LaserJet 1020 firmware /usr/share/foo2zjs/firmware/sihp1020.dl to /dev/usb/lp0 ...
Feb 23 08:02:05 RAGHU /etc/hotplug/usb/hplj1020: foo2zjs: ... download successful.
Feb 23 15:16:52 RAGHU /etc/hotplug/usb/hplj1020: foo2zjs: loading HP LaserJet 1020 firmware /usr/share/foo2zjs/firmware/sihp1020.dl to /dev/usb/lp0 ...
Feb 23 15:16:52 RAGHU /etc/hotplug/usb/hplj1020: foo2zjs: ... download successful.
---------------------------------------------------------------------------------

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 23, 2013 08:43AM

What does:

$ ls -l /dev/usb

say???

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 23, 2013 09:19AM

Here is the output

------------------------------------------------------------------------------------
total 0
crw-rw-rw-. 1 root lp 180, 0 Feb 23 15:16 lp0

---------------------------------------------------------------------

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 23, 2013 09:49AM

What does:

# 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;

say?

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 23, 2013 11:35AM

Here is the output
----------------------------------------------------------------------------------

MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;DES:HP LaserJet 1020;FWVER:20050309;
--------------------------------------------------------------------------------

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 23, 2013 12:15PM

What does this say?
$ cd foo2zjs

$ foo2zjs-wrapper -P -z1 -L0 -X16 testpage.ps > xxx.prn

$ ls -l xxx.prn
-rw-rw-r-- 1 rick rick 92623 Feb 23 11:12 xxx.prn

$ cp xxx.prn /dev/usb/lp0
{printed fine}



Edited 1 time(s). Last edit at 02/23/2013 12:15PM by rickrich.

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 23, 2013 09:28PM

Here is the output for : cp xxx.prn /dev/usb/lp0
====================================================================================



cp: cannot create regular file ‘/dev/usb/lp0’: No such file or directory

====================================================================================

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 24, 2013 01:02AM

What does:

$ ls -l /dev/usb

say???

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 24, 2013 10:46AM

Here is the output

====================================================================================
total 0
crw-rw-rw-. 1 root lp 180, 0 Feb 24 21:11 lp0
==========================================================================

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 24, 2013 12:31PM

# cp xxx.prn /dev/usb/lp0

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 24, 2013 08:58PM

Here is the output

====================================================================================

cp: cannot stat ‘xxx.prn’: No such file or directory

====================================================================================

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 24, 2013 09:08PM

The URI :

====================================================================================

usb://HP/LaserJet%201020?serial=JL2S3FC

==========================================================================

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 24, 2013 09:38PM

when system-config-printer is run, the GUI comes with a printer icon showing a green tick mark at left hand corner of the printer icon and red negative mark at right hand bottom corner of the printer.

There is also a message asking to run hp- plugin

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: rickrich ()
Date: February 24, 2013 09:46PM

$ cd foo2zjs

$ foo2zjs-wrapper -P -z1 -L0 -X16 testpage.ps > xxx.prn

$ ls -l xxx.prn
-rw-rw-r-- 1 rick rick 92623 Feb 23 11:12 xxx.prn

$ cp xxx.prn /dev/usb/lp0
{printed fine}

Works on my Fedora 18. I give up. Use the properietary, *closed source* HP stuff if you want to.

Options: ReplyQuote
Re: Upgraded from FC 16 to FC 18 [solved]
Posted by: raghy.rao ()
Date: February 25, 2013 04:38AM

when I do cp xxx.prn /dev/usb/lp0 , the out put is:

====================================================================================

cp: overwrite ‘/dev/usb/lp0’?

===============================================================================

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


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