You are not logged in.

#1 2012-05-31 17:20:46

Recoba20
Member
From: Belgrade, Serbia
Registered: 2012-05-31
Posts: 15

[SOLVED] HP LaserJet 1020 Installation impossible... yet

By following Arch wiki instructions, I've installed CUPS, and related packages for my printer. I've configured CUPS (Adding user to lp group and setting SystemGroup root lp) and restarted it. First, I've tried to install drivers using hp-setup method. There was a python related problem, so I've found solution for this with these commands

cd /tmp
ln -s /usr/bin/python2.7 python
PATH=/tmp:$PATH
export PATH

Then I've tried to install again using command

hp-setup -g -i

Here is the output

[root@linux-bv83 rules.d]# hp-setup -g -i

HP Linux Imaging and Printing System (ver. 3.12.4)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

hp-setup[3734]: debug: param=
hp-setup[3734]: debug: selected_device_name=None
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num       Connection  Description                                               
            Type                                                                  
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)                                
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
  2         par         Parallel Port (LPT:)                                      

Enter number 0...2 for connection type (q=quit, enter=usb*) ? 

Using connection type: usb

hp-setup[3734]: debug: 
DEVICE CHOOSER setup_fax=True, setup_print=True                                               
hp-setup[3734]: debug: Probing bus: usb
hp-setup[3734]: debug: hp:/usb/HP_LaserJet_1020?serial=FN1XZWM
hp-setup[3734]: debug: hp:/usb/HP_LaserJet_1020?serial=FN1XZWM: back_end:hp is_hp:True bus:usbrt:1                                                                                          
hp-setup[3734]: debug: Cache miss: hp_laserjet_1020
hp-setup[3734]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[3734]: debug: Searching for section [hp_laserjet_1020] in file /usr/share/hplip/data/
hp-setup[3734]: debug: Found section [hp_laserjet_1020] in file /usr/share/hplip/data/models/m
hp-setup[3734]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-setup[3734]: debug: Mode=0
Using device: hp:/usb/HP_LaserJet_1020?serial=FN1XZWM


Setting up device: hp:/usb/HP_LaserJet_1020?serial=FN1XZWM


hp-setup[3734]: debug: hp:/usb/HP_LaserJet_1020?serial=FN1XZWM: back_end:hp is_hp:True bus:usb model:HP_LaserJetrt:1                                                                                                            
hp-setup[3734]: debug: Model=HP_LaserJet_1020
hp-setup[3734]: debug: hp:/usb/HP_LaserJet_1020?serial=FN1XZWM: back_end:hp is_hp:True bus:usb model:HP_LaserJetrt:1                                                                                                            

------------------------
| PLUG-IN INSTALLATION |
------------------------


HP Linux Imaging and Printing System (ver. 3.12.4)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the

/
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.12.4 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recomended)             
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? 

--------------------------
| DOWNLOAD CONFIGURATION |
--------------------------

Checking for network connection...
Downloading configuration file from: http://hplip.sf.net/plugin.conf
Downloading configuration: [\                                                                                   

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from: http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.12.4-plug
Downloading plug-in: [\                                                                                                              ] 0%   Recal keys: /usr/bin/gpg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0
 

----------------------
| INSTALLING PLUG-IN |
----------------------

Verifying archive integrity... All good.
Uncompressing HPLIP 3.12.4 Plugin Self Extracting Archive.....................................

HP Linux Imaging and Printing System (ver. 3.12.4)
Plugin Installer ver. 3.0

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Plug-in version: 3.12.4
Installed HPLIP version: 3.12.4
Number of files to install: 36

You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in                                                                         


These License Terms govern your Use of the HPLIP Driver Plug-in Software (the "Software"). USE OF THE SOFTWARE INCLUDING, WITHOUT LIMITATION, A
DOCUMENTATION, IS SUBJECT TO THESE LICENSE TERMS AND THE APPLICABLE AS-IS WARRANTY STATEMENT. BY DOWNLOADING AND INSTALLING THE SOFTWARE, YOU A
TO BE BOUND BY THESE TERMS. IF YOU DO NOT AGREE TO ALL OF THESE TERMS, DO NOT DOWNLOAD AND INSTALL THE SOFTWARE ON YOUR SYSTEM.                


1. License Grant. HP grants you a license to Use one copy of the Software with HP printing products only. "Use" includes using, storing, loadin
installing, executing, and displaying the Software. You may not modify the Software or disable any licensing or control features of the Softwar


2. Ownership. The Software is owned and copyrighted by HP or its third party suppliers. Your license confers no title to, or ownership in, the 
is not a sale of any rights in the Software. HP's third party suppliers may protect their rights in the Software in the event of any violation 
license terms.                                                                                                                                 


3. Copies and Adaptations. You may only make copies or adaptations of the Software for archival purposes or when copying or adaptation is an es
in the authorized Use of the Software. You must reproduce all copyright notices in the original Software on all copies or adaptations. You may 
Software onto any public network.                                                                                                              


4. No Disassembly. You may not Disassemble the Software unless HP's prior written consent is obtained. "Disassemble" includes disassembling, de
decrypting, and reverse engineering. In some jurisdictions, HP's consent may not be required for limited Disassembly. Upon request, you will pr
with reasonably detailed information regarding any Disassembly.                                                                                


5. No Transfer. You may not assign, sublicense or otherwise transfer all or any part of these License Terms or the Software.                   


6. Termination. HP may terminate your license, upon notice, for failure to comply with any of these License Terms. Upon termination, you must i
destroy the Software, together with all copies, adaptations and merged portions in any form.                                                   


7. Export Requirements. You may not export or re-export the Software or any copy or adaptation in violation of any applicable laws or regulatio


8. U.S. Government Restricted Rights. The Software has been developed entirely at private expense. It is delivered and licensed, as defined in 
applicable DFARS, FARS, or other equivalent federal agency regulation or contract clause, as either "commercial computer software" or "restrict
software", whichever is applicable. You have only those rights provided for such Software by the applicable clause or regulation or by these Li


9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, HP AND ITS SUPPLIERS PROVIDE THE SOFTWARE "AS IS" AND WITH ALL 
HEREBY DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE 
NON-INFRINGEMENT, ANY IMPLIED WARRANTIES, DUTIES OR CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES 
REGARD TO THE SOFTWARE. Some states/jurisdictions do not allow exclusion of implied warranties or limitations on the duration of implied warran
above disclaimer may not apply to you in its entirety.                                                                                         


10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur, the entire liability of HP and any of its suppliers under any pr
this agreement and your exclusive remedy for all of the foregoing shall be limited to the greater of the amount actually paid by you separately
Software or U.S. $5.00. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL HP OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INC
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION,
BUSINESS INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY WAY RELATED TO THE USE OF OR INABILITY TO USE THE SOFT
OTHERWISE IN CONNECTION WITH ANY PROVISION OF THIS AGREEMENT, EVEN IF HP OR ANY SUPPLIER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AN
THE REMEDY FAILS OF ITS ESSENTIAL PURPOSE. Some states/jurisdictions do not allow the exclusion or limitation of incidental or consequential da
the above limitation or exclusion may not apply to you.                                                                                        

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? 

Done.

Done.
hp-setup[3734]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS...
hp-setup[3734]: debug: CUPS PPD base path = /usr/share/cups/model
hp-setup[3734]: debug: Foomatic PPD base path = /usr/share/ppd

---------------------
| PRINT QUEUE SETUP |
---------------------


Please enter a name for this print queue (m=use model name:'HP_LaserJet_1020'*, q=quit) ?
Using queue name: HP_LaserJet_1020
Locating PPD file... Please wait.
hp-setup[3734]: debug: Matching PPD list to model laserjet_1020...
hp-setup[3734]: debug: Found match: drv:///hp/hpijs.drv/hp-laserjet_1020-hpijs.ppd
hp-setup[3734]: debug: Found match: drv:///hp/hpcups.drv/hp-laserjet_1020.ppd
hp-setup[3734]: debug: Found match: lsb/usr/HP/hp-laserjet_1020.ppd.gz
hp-setup[3734]: debug: Found match: lsb/usr/HP/hp-laserjet_1020-hpijs.ppd.gz
hp-setup[3734]: debug: [('drv:///hp/hpijs.drv/hp-laserjet_1020-hpijs.ppd', []), ('drv:///hp/hpcups.drv/hp-laserjet_1020.ppd', []), ('lsb/usr/HP/hp-laserjet_1020.ppd.gz', []), ('lsb/usr/HP/hp-laserjet_1020-hpijs.ppd.gz', [])]
hp-setup[3734]: debug: 4 matches found. Selecting based on PDL: Host > PS > PCL/Other
hp-setup[3734]: debug: No specific PDL located. Defaulting to first found PPD file.

Found PPD file: drv:///hp/hpijs.drv/hp-laserjet_1020-hpijs.ppd
Enter a location description for this printer (q=quit) ?
Enter additonal information or notes for this printer (q=quit) ?

Adding print queue to CUPS:
Device URI: hp:/usb/HP_LaserJet_1020?serial=FN1XZWM
Queue name: HP_LaserJet_1020
PPD file: drv:///hp/hpijs.drv/hp-laserjet_1020-hpijs.ppd
Location: 
Information: 
hp-setup[3734]: debug: Restarting CUPS...
hp-setup[3734]: debug: Restart CUPS returned: exit=0 output=
hp-setup[3734]: debug: addPrinter('HP_LaserJet_1020', 'hp:/usb/HP_LaserJet_1020?serial=FN1XZWM', '', '', 'drv:///hp/hpijs.drv/hp-laserjet_1020-hpijs.ppd', '')
hp-setup[3734]: debug: addPrinter() returned (0, Unable to connect to CUPS server)
error: Printer queue setup failed. Please restart CUPS and try again.
[root@linux-bv83 rules.d]#

I've also tried to install foo2zjs drivers manually and from AUR, added udev rules, added "rmmod usblp" to /etc/rc.local, followed this https://wiki.archlinux.org/index.php/CU … erJet_1020 instructions several times, rebooted my computer dozen times, but printer remains silent. In best case I've managed to install driver (foo2zjs) through CUPS web interface, but printer doesn't print and I get a message "/usr/lib/cups/backend/hp failed". I've tried fix for this on this https://wiki.archlinux.org/index.php/CUPS page, but it doesn't work.

[root@linux-bv83 rules.d]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 045e:00f9 Microsoft Corp. Wireless Desktop Receiver 3.1
Bus 003 Device 005: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
Bus 005 Device 002: ID 05e3:0716 Genesys Logic, Inc. USB 2.0 Multislot Card Reader/Writer
Bus 007 Device 002: ID 046d:08ad Logitech, Inc. QuickCam Communicate STX
[root@linux-bv83 rules.d]# ls -l /dev/bus/usb/*/*
crw-rw-r--  1 root root 189,    0 May 31 17:28 /dev/bus/usb/001/001
crw-rw-r--  1 root root 189,  128 May 31 17:28 /dev/bus/usb/002/001
crw-rw-r--  1 root root 189,  256 May 31 17:28 /dev/bus/usb/003/001
crw-rw-r--+ 1 root lp   189,  260 May 31 19:09 /dev/bus/usb/003/005
crw-rw-r--  1 root root 189,  384 May 31 17:28 /dev/bus/usb/004/001
crw-rw-r--  1 root root 189,  512 May 31 17:28 /dev/bus/usb/005/001
crw-rw-r--  1 root root 189,  513 May 31 17:28 /dev/bus/usb/005/002
crw-rw-r--  1 root root 189,  640 May 31 17:28 /dev/bus/usb/006/001
crw-rw-r--  1 root root 189,  641 May 31 17:28 /dev/bus/usb/006/002
crw-rw-r--  1 root root 189,  768 May 31 17:28 /dev/bus/usb/007/001
crw-rw-r--  1 root root 189,  769 May 31 17:28 /dev/bus/usb/007/002
crw-rw-r--  1 root root 189,  896 May 31 17:28 /dev/bus/usb/008/001
crw-rw-r--  1 root root 189, 1024 May 31 17:28 /dev/bus/usb/009/001

Does anybody has any other idea how to fix this?

Last edited by Recoba20 (2012-06-01 11:42:41)

Offline

#2 2012-05-31 17:45:33

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

you must not add rmmod usblp in rc.local .
"The usblp module is needed to upload the firmware to the printer, but the module must then be removed to allow printing or adding the printer to the system."
So remove please rmmod from rc.local.
Try modprobing usblp, connect the printer, and give it 10 seconds. After go to cups web interface or whatever interface you use, and print your test page. It should work.
EDIT: use foo2zjs from aur and you won't have to follow this part of the wiki: https://wiki.archlinux.org/index.php/Cu … g_firmware . Because the maintainer of the package added a patch 2weeks ago , and this is no more required.

Last edited by nierro (2012-05-31 17:47:48)

Offline

#3 2012-05-31 21:13:37

Recoba20
Member
From: Belgrade, Serbia
Registered: 2012-05-31
Posts: 15

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

nierro wrote:

you must not add rmmod usblp in rc.local .
"The usblp module is needed to upload the firmware to the printer, but the module must then be removed to allow printing or adding the printer to the system."

I don't understand this. Is this only for the first time printer installation, or this must be done every time I reboot my computer?

Offline

#4 2012-05-31 21:32:33

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

The module usblp doens't make the printer print. But it is needed in order to load its firmware. So, every time the printer is plugged in, the udev rule added by foo2zjs maintainer makes modprobe usblp, then wait 15sec, then rmmod usblp to allow printing.

Offline

#5 2012-05-31 23:34:21

Recoba20
Member
From: Belgrade, Serbia
Registered: 2012-05-31
Posts: 15

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

OK, I've deinstalled hplip removed "rmmod usblp" from rc.local, rebooted my computer, then installed foo2zjs from AUR, plugged out, then plugged in my printer, restarted my computer again. Now, I can't add printer through CUPS web interface. Do I need hplip package?

Sorry for my noob questions. I've tried so many solutions, that I'm now so confused.

Offline

#6 2012-06-01 06:53:27

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

Uhm... reboot your computer. Plug in your printer. Wait 15-20s for the firmware to load. Then the udev rule added by foo2zjs will rmmod usblp, and finally you must be ready to go.
Let me know if it works!

Offline

#7 2012-06-01 09:54:14

Recoba20
Member
From: Belgrade, Serbia
Registered: 2012-05-31
Posts: 15

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

I've done it like you said. Nothing happends. Printer remains silent, but when I power off, then switch on my printer, it started to whirl, then pause, then again it whirls, but CUPS doesn't sees it. I also tried this: I've turned off my printer, modprobe usblp, then power on my printer, it whirls two times, then rmmode usblp, then tried to add it through the CUPS. Again, CUPS doesn't sees printer.
414cf7193358398.jpg
be4efc193358401.jpg

Offline

#8 2012-06-01 10:23:10

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

Paste here your "/etc/udev/rules.d/11-hpj10xx.rule" .
Have you foo2zjs installed from aur, right?

Offline

#9 2012-06-01 10:47:11

Recoba20
Member
From: Belgrade, Serbia
Registered: 2012-05-31
Posts: 15

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

[root@linux-bv83 bojan]# cat /etc/udev/rules.d/11-hplj10xx.rules 
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="0517", RUN+="/sbin/foo2zjs-loadfw 1000 $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="0517", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="0517", RUN+="/usr/bin/rmmod usblp"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="1317", RUN+="/sbin/foo2zjs-loadfw 1005 $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="1317", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="1317", RUN+="/usr/bin/rmmod usblp"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="4117", RUN+="/sbin/foo2zjs-loadfw 1018 $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="4117", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="4117", RUN+="/usr/bin/rmmod usblp"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="2b17", RUN+="/sbin/foo2zjs-loadfw 1020 $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="2b17", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="2b17", RUN+="/usr/bin/rmmod usblp"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="3d17", RUN+="/sbin/foo2zjs-loadfw P1005 $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="3d17", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="3d17", RUN+="/usr/bin/rmmod usblp"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="3e17", RUN+="/sbin/foo2zjs-loadfw P1006 $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="3e17", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="3e17", RUN+="/usr/bin/rmmod usblp"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="4817", RUN+="/sbin/foo2zjs-loadfw P1007 $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="4817", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="4817", RUN+="/usr/bin/rmmod usblp"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="4917", RUN+="/sbin/foo2zjs-loadfw P1008 $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="4917", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="4917", RUN+="/usr/bin/rmmod usblp"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="3f17", RUN+="/sbin/foo2zjs-loadfw P1505 $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="3f17", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="3f17", RUN+="/usr/bin/rmmod usblp"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
        ATTRS{idProduct}=="4017", RUN+="/sbin/foo2zjs-loadfw P1505n $tempnode"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="4017", RUN+="/usr/bin/sleep 15"
ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0",     \
       ATTRS{idProduct}=="4017", RUN+="/usr/bin/rmmod usblp"
[root@linux-bv83 bojan]# 

Yes, I've installed foo2zjs from AUR.

Offline

#10 2012-06-01 10:57:33

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

Yeah that's right then...
Have you followed this part of the wiki? https://wiki.archlinux.org/index.php/CU … leshooting
That's the last thing you can check...create the file "/etc/udev/rules.d/10-usbprinter.rules" and put insiede what is written there, changing idvendor and id product to suit your printer!

EDIT: "some printers will need permissions to be 666" (from archwiki)... give it a try!

Last edited by nierro (2012-06-01 10:58:30)

Offline

#11 2012-06-01 11:41:29

Recoba20
Member
From: Belgrade, Serbia
Registered: 2012-05-31
Posts: 15

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

Finally, it works!
Here what I've done. I've followed this https://wiki.archlinux.org/index.php/CU … leshooting and created a file 10-usbprinter.rules. There I put this

ATTR{idVendor}=="03f0", ATTR{idProduct}=="2b17", MODE:="0660", GROUP:="lp"

Nothing happens. Then I modify and changed the MODE:="0660" to MODE:="666", rebooted my computer, and printer now works. Here is output

[root@linux-bv83 bojan]# cat /etc/udev/rules.d/10-usbprinter.rules 
ATTR{idVendor}=="03f0", ATTR{idProduct}=="2b17", MODE:="666", GROUP:="lp"
[root@linux-bv83 bojan]#

I've noticed that printer don't whirl during boot, but most important is that it works.

nierro thank you very much for helping me.

Offline

#12 2012-06-01 11:44:52

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

big_smile
Really happy it helped you!
I got crazy a month ago trying to install my hp laserjet p1005, so i knew how do you felt! smile
Bye!

Offline

#13 2012-06-01 12:29:12

broken pipe
Member
Registered: 2010-12-10
Posts: 243

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

i got the same printer. forget the foo2zjs package. install cups, hplip (from testing) and hplip-plugin (aur). start cups, switch on the printer, browse to localhost:631, add it and you're fine!

Offline

#14 2012-06-01 18:02:18

Recoba20
Member
From: Belgrade, Serbia
Registered: 2012-05-31
Posts: 15

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

I'll try it later. At the moment, I'm very happy with my system. I am using arch lesser than a week and I've set everything but printer. And now, printer is working. Me very happy.... big_smile

Offline

#15 2012-09-09 15:13:32

Recoba20
Member
From: Belgrade, Serbia
Registered: 2012-05-31
Posts: 15

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

Today I've updated hplip package via packman, and my printer didn't work, again.
Then I've uninstalled hplip package, removed printer in CUPS (web interface). I've installed again hplip package, then opened Konsole and typed

cd /tmp
ln -s /usr/bin/python2.7 python
PATH=/tmp:$PATH
export PATH

After that, I've started

hp-setup -i

in Konsole, then again removed printer in CUPS, then i've added printer again in CUPS using hpcups driver. After that, I've executed

hp-plugin -i

command in Konsole, and printer works.

I guess there are few unneeded steps, but most important is that printer works. smile

Last edited by Recoba20 (2012-09-09 15:35:20)

Offline

#16 2014-06-28 22:05:00

e8hffff
Member
Registered: 2014-04-18
Posts: 7

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet

I've got the same problem but the firmware wont load when turning on the printer.  It sometimes works if you start the computer whilst the printer is on.

Regarding this need for python2, it's ridiculous.  Can't the coders allow for new python releases or bring the drivers up to standard.

Last edited by e8hffff (2014-06-28 22:05:14)

Offline

#17 2014-06-28 22:14:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] HP LaserJet 1020 Installation impossible... yet


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB