[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: laserjet 1020+usb



> As you can see, the report found several missing
> dependencies and
> although the printer is detected over USB, there's no CUPS
> queue for it.
> 
> I suspect you installed HPLIP from source.  If so, cd
> into the source
> directory and run 'sudo make uninstall'.  Then run
> 'sudo aptitude
> install hplip' to install it from the Debian
> repositories.  This will
> automatically install the required dependencies.
> 
> You only need to install HPLIP from source if you have a
> brand new printer model.
> 
I did what you said. No luck either :-(

i installed hplip:

#aptitude install hplip foo2zjs

and it installed 6 packages:

cupsddk cupsddk-drivers foo2zjs hpijs hplip hplip-data

Then i connected and turned on the printer. Tried to print without luck.
I turn it off, then turn it on again
Than i ran hp-setup
I saids everithing was ok. But no printing.
I ran getweb 1020, turn it off and onn. And no printing :-(

here is dmesg:

[  142.328096] usb 1-3: new high speed USB device using ehci_hcd and address 5
[  142.480378] usb 1-3: New USB device found, idVendor=03f0, idProduct=2b17
[  142.480381] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  142.480383] usb 1-3: Product: HP LaserJet 1020
[  142.480385] usb 1-3: Manufacturer: Hewlett-Packard
[  142.480387] usb 1-3: SerialNumber: JL51N68
[  142.480473] usb 1-3: configuration #1 chosen from 1 choice
[  142.546188] usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
[  142.546203] usbcore: registered new interface driver usblp
[  146.789287] usblp0: removed
[  151.952081] usb 1-3: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110

and hp-check, with errors about dependencies. How can i get rid of them?

hp-check[5256]: info: :
Initializing. Please wait...
Debian^M

unstable^M

scheduler is running^M

1.3.10^M

Linux quetzalcoatl 2.6.29-1-686-bigmem #1 SMP Fri Apr 17 15:31:25 UTC 2009 i686 GNU/Linux^M

hp-check[5256]: info: :
hp-check[5256]: info: :---------------
hp-check[5256]: info: :| SYSTEM INFO |
hp-check[5256]: info: :---------------
hp-check[5256]: info: :
hp-check[5256]: info: :Basic system information:
hp-check[5256]: info: :Linux quetzalcoatl 2.6.29-1-686-bigmem #1 SMP Fri Apr 17 15:31:25 UTC 2009 i686 GNU/Linux^M
hp-check[5256]: info: :
hp-check[5256]: info: :Distribution:
hp-check[5256]: info: :debian unstable
hp-check[5256]: info: :
HPOJ running?
hp-check[5256]: info: :No, HPOJ is not running (OK).
hp-check[5256]: info: :
hp-check[5256]: info: :Checking Python version...
hp-check[5256]: info: :OK, version 2.5.4 installed
hp-check[5256]: info: :
hp-check[5256]: info: :Checking PyQt 4.x version...
hp-check[5256]: info: :OK, version 4.4.4 installed.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for CUPS...
hp-check[5256]: info: :Status: scheduler is running
hp-check[5256]: info: :Version: 1.3.10
hp-check[5256]: info: :error_log is set to level: info
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dbus/python-dbus...
hp-check[5256]: info: :dbus daemon is running.
hp-check[5256]: info: :python-dbus version: 0.83.0
hp-check[5256]: info: :
hp-check[5256]: info: :
hp-check[5256]: info: :------------------------------------
hp-check[5256]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[5256]: info: :------------------------------------
hp-check[5256]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: CUPS DDK - CUPS driver development kit...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: CUPS image - CUPS image development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: DBus - Message bus system...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: libtool - Library building support services...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: Python ctypes - A foreign function library for Python...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: Python devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: Python XML libraries...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: SANE - Scanning library...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :
hp-check[5256]: info: :----------------------
hp-check[5256]: info: :| HPLIP INSTALLATION |
hp-check[5256]: info: :----------------------
hp-check[5256]: info: :
hp-check[5256]: info: :
hp-check[5256]: info: :Currently installed HPLIP version...
hp-check[5256]: info: :HPLIP 3.9.4b currently installed in '/usr/share/hplip'.
hp-check[5256]: info: :
hp-check[5256]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[5256]: info: :# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.9.4b

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
cups-ppd-install=no
cups-drv-install=yes
internal-tag=3.9.4b.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes

hp-check[5256]: info: :
hp-check[5256]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[5256]: info: :[plugin]
eula = 1
installed = 1


hp-check[5256]: info: :
hp-check[5256]: info: :Current contents of '~/.hplip/hplip.conf' file:
error: Could not access file: No such file or directory
hp-check[5256]: info: :
hp-check[5256]: info: :-------------------------------
hp-check[5256]: info: :| DISCOVERED PARALLEL DEVICES |
hp-check[5256]: info: :-------------------------------
hp-check[5256]: info: :
hp-check[5256]: info: :No devices found.
hp-check[5256]: info: :
hp-check[5256]: info: :--------------------------
hp-check[5256]: info: :| DISCOVERED USB DEVICES |
hp-check[5256]: info: :--------------------------
hp-check[5256]: info: :
hp-check[5256]: info: :  Device URI                                 Model
hp-check[5256]: info: :  -----------------------------------------  -----------------------------------------
hp-check[5256]: info: :  hp:/usb/HP_LaserJet_1020?serial=JL51N68    HP LaserJet 1020
hp-check[5256]: info: :
hp-check[5256]: info: :---------------------------------
hp-check[5256]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[5256]: info: :---------------------------------
hp-check[5256]: info: :
hp-check[5256]: info: :
hp-check[5256]: info: :HP_LaserJet_1020
hp-check[5256]: info: :----------------
hp-check[5256]: info: :Type: Printer
hp-check[5256]: info: :Device URI: hp:/usb/HP_LaserJet_1020?serial=JL51N68
hp-check[5256]: info: :PPD: /etc/cups/ppd/HP_LaserJet_1020.ppd
hp-check[5256]: info: :PPD Description: HP LaserJet 1020 Foomatic/foo2zjs (recommended)
hp-check[5256]: info: :Printer status: printer HP_LaserJet_1020 is idle.  enabled since Mon Jun 15 11:05:08 2009^M
hp-check[5256]: info: :Required plug-in status: Installed
hp-check[5256]: info: :Communication status: Good
hp-check[5256]: info: :
hp-check[5256]: info: :HP_LaserJet_1020_2
hp-check[5256]: info: :------------------
hp-check[5256]: info: :Type: Printer
hp-check[5256]: info: :Device URI: hp:/usb/HP_LaserJet_1020?serial=JL51N68
hp-check[5256]: info: :PPD: /etc/cups/ppd/HP_LaserJet_1020_2.ppd
hp-check[5256]: info: :PPD Description: HP LaserJet 1020 hpijs, 3.9.4b
hp-check[5256]: info: :Printer status: printer HP_LaserJet_1020_2 is idle.  enabled since Mon Jun 15 11:07:44 2009^M
hp-check[5256]: info: :Required plug-in status: Installed
hp-check[5256]: info: :Communication status: Good
hp-check[5256]: info: :
hp-check[5256]: info: :
hp-check[5256]: info: :
hp-check[5256]: info: :----------------------
hp-check[5256]: info: :| SANE CONFIGURATION |
hp-check[5256]: info: :----------------------
hp-check[5256]: info: :
hp-check[5256]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[5256]: info: :'hpaio' in '/etc/sane.d/dll.d/hplip'...
hp-check[5256]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking output of 'scanimage -L'...
hp-check[5256]: info: :^M
No scanners were identified. If you were expecting something different,^M
check that the scanner is plugged in, turned on and detected by the^M
sane-find-scanner tool (if appropriate). Please read the documentation^M
which came with this software (README, FAQ, manpages).^M

hp-check[5256]: info: :
hp-check[5256]: info: :---------------------
hp-check[5256]: info: :| PYTHON EXTENSIONS |
hp-check[5256]: info: :---------------------
hp-check[5256]: info: :
hp-check[5256]: info: :Checking 'cupsext' CUPS extension...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking 'pcardext' Photocard extension...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking 'hpmudext' I/O extension...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :Checking 'scanext' SANE scanning extension...
hp-check[5256]: info: :OK, found.
hp-check[5256]: info: :
hp-check[5256]: info: :
hp-check[5256]: info: :
hp-check[5256]: info: :-----------------
hp-check[5256]: info: :| USB I/O SETUP |
hp-check[5256]: info: :-----------------
hp-check[5256]: info: :
hp-check[5256]: info: :Checking for permissions of USB attached printers...
hp-check[5256]: info: :
HP Device 0x2b17 at 001:005:
hp-check[5256]: info: :    Device URI: hp:/usb/HP_LaserJet_1020?serial=JL51N68
hp-check[5256]: info: :    Device node: /dev/bus/usb/001/005
hp-check[5256]: info: :    Mode: 0664
hp-check[5256]: info: :getfacl: Removing leading '/' from absolute path names^M
# file: dev/bus/usb/001/005^M
# owner: root^M
# group: lp^M
user::rw-^M
user:emorfin:rw-^M
group::rw-^M
mask::rw-^M
other::r--^M
^M

hp-check[5256]: info: :
hp-check[5256]: info: :---------------
hp-check[5256]: info: :| USER GROUPS |
hp-check[5256]: info: :---------------
hp-check[5256]: info: :
hp-check[5256]: info: :root^M

hp-check[5256]: info: :
hp-check[5256]: info: :-----------
hp-check[5256]: info: :| SUMMARY |
hp-check[5256]: info: :-----------
hp-check[5256]: info: :
error: 10 errors and/or warnings.
hp-check[5256]: info: :
hp-check[5256]: info: :Please refer to the installation instructions at:
hp-check[5256]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[5256]: info: :
hp-check[5256]: info: :Done.





Reply to: