2011-08-16 09:06:39 |
gard |
bug |
|
|
added bug |
2011-08-16 10:02:19 |
gard |
affects |
hplip |
debian |
|
2011-08-16 10:26:53 |
gard |
affects |
debian |
hplip |
|
2011-08-16 16:59:38 |
gard |
hplip: status |
New |
In Progress |
|
2011-08-16 17:00:00 |
gard |
hplip: status |
In Progress |
Fix Committed |
|
2011-08-16 18:08:15 |
gard |
description |
Hi, yesterday I successfully installed the printer on the server Debian, it worked, I hooked up the Linux client and windwos-clients, everything worked fine. Worked as long as I'm not pressed the power button on the printer. I turned off and turned on the printer and printer lost. I have error in cups error log:
/usr/lib/cups/backend/hp failed
I reinstall hplip and depends, but now i have error:
prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
Now Printer not work :(
Here's the output from the diagnostic commands:
******************************************
root@debSrv:~# hp-levels -g
warning: hp-levels should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Supply Levels Utility ver. 2.0
Copyright (c) 2001-9 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-levels[17732]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-levels[17732]: debug: Mode=0
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: Cache miss: hp_laserjet_professional_p1102
hp-levels[17732]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: Searching for section [hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: Found section [hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: {'hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c': ['HP_LaserJet_P1102']}
Using device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Printer: None
hp-levels[17732]: debug: Not starting dbus: running as root.
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: URI: backend=hp, is_hp=True, bus=usb, model=HP_LaserJet_Professional_P1102, serial=000000000Q81DLWGSI1c, dev=, host=, port=1
hp-levels[17732]: debug: Model/UI model: HP_LaserJet_Professional_P1102/HP LaserJet Professional p1102
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: Re-reading CUPS printer queue information.
hp-levels[17732]: debug: Opening device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c (not for printing)
hp-levels[17732]: debug: I/O mode=6
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Exception: 2 (Device not found)
error: Error opening device (Device not found). Exiting.
******************************************
root@debSrv:~# hp-probe
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-9 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.
--------------------------------
| 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*) ? 0
Using connection type: usb
--------------------
| DEVICE DISCOVERY |
--------------------
warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.
******************************************
root@debSrv:~# hp-query -d hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c -a
warning: hp-query should not be run as root/superuser.
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=0
fax-type=0
fw-download=True
icon=HP_LaserJet_1012.png
io-mfp-mode=6
io-mode=1
io-support=2
job-storage=0
linefeed-cal-type=0
model1=HP Laserjet Professional P1102 Printer
monitor-type=0
panel-check-type=0
pcard-type=0
plugin=1
plugin-reason=1
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=35A
r0-agent1-type=1
scan-style=0
scan-type=0
status-battery-check=0
status-dynamic-counters=0
status-type=8
support-released=True
support-subtype=2202411
support-type=2
support-ver=3.10.4
tech-class=['LJZjsMono']
tech-subclass=['NoAutoDuplex']
tech-type=3
usb-pid=42
usb-vid=1008
wifi-config=0
******************************************
root@debSrv:~# hp-setup -i
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-9 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 default.)
--------------------------------
| 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
error: No device selected/specified or that supports this functionality.
******************************************
root@debSrv:~# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.4.4
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_LaserJet_P1102>
Info HP_LaserJet_P1102
Location office
MakeModel HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
DeviceURI hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
State Stopped
StateMessage /usr/lib/cups/filter/foomatic-rip failed
StateTime 1313429756
Reason paused
Type 8425484
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 100 foomatic-rip
Filter application/vnd.cups-pdf 0 foomatic-rip
Filter application/vnd.cups-command 0 commandtops
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
******************************************
root@debSrv:~# ps aux | grep cups
root 12518 0.0 0.2 78232 3520 ? Ss Aug15 0:01 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root 17787 0.0 0.0 8708 840 pts/0 S+ 08:19 0:00 grep cups
******************************************
root@debSrv:~# lsusb
Bus 002 Device 004: ID 03f0:002a Hewlett-Packard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
******************************************
root@debSrv:~# hp-check
HP Linux Imaging and Printing System (ver. 3.10.6)
Dependency/Version Check Utility ver. 14.3
Copyright (c) 2001-9 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: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).
Saving output in log file: hp-check.log
Initializing. Please wait...
|/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux debSrv 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux
Distribution:
debian 6.0
Checking Python version...
OK, version 2.6.6 installed
Checking PyQt 4.x version...
OK, version 4.7.3 installed.
Checking for CUPS...
Status: планировщик запущен
Version: 1.4.4
error_log is set to level: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1
------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------
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).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.
Checking for dependency: CUPS image - CUPS image development files...
OK, found.
Checking for dependency: DBus - Message bus system...
OK, found.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
OK, found.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
OK, found.
Checking for dependency: libusb - USB library...
OK, found.
Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.
Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.
Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.
Checking for dependency: Python devel - Python development files...
OK, found.
Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.
Checking for dependency: Python XML libraries...
OK, found.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
OK, found.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.
----------------------
| HPLIP INSTALLATION |
----------------------
Currently installed HPLIP version...
HPLIP 3.10.6 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
Current contents of '~/.hplip/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_P1102
-----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
PPD: /etc/cups/ppd/HP_LaserJet_P1102.ppd
PPD Description: HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
Printer /usr/lib/cups/filter/foomatic-rip failedен с момента Пнд 15 Авг 2011 23:35:56 -
error: Required plug-in status: Not installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
error: Device not found
error: Communication status: Failed
----------------------
| SANE CONFIGURATION |
----------------------
'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
---------------------
| PYTHON EXTENSIONS |
---------------------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
HP Device 0x2a at 002:004:
Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
Device node: /dev/bus/usb/002/004
Mode: 0777
---------------
| USER GROUPS |
---------------
root lp lpadmin
User member of group 'lp'. Enables print/ scan/ fax.
User member of group 'lpadmin'.
-----------
| SUMMARY |
-----------
error: 2 errors and/or warnings.
Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html
Done.
root@debSrv:~# hp-probe
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-9 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.
--------------------------------
| 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
--------------------
| DEVICE DISCOVERY |
--------------------
warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.
Done.
**And Cups Error Log****************************************
D [16/Aug/2011:08:40:22 +0600] [Job 28] Parameter Summary
D [16/Aug/2011:08:40:22 +0600] [Job 28] -----------------
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Spooler: cups
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer: HP_LaserJet_P1102
D [16/Aug/2011:08:40:22 +0600] [Job 28] Shell: /bin/bash
D [16/Aug/2011:08:40:22 +0600] [Job 28] PPD file: /etc/cups/ppd/HP_LaserJet_P1102.ppd
D [16/Aug/2011:08:40:22 +0600] [Job 28] ATTR file:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer model: HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
D [16/Aug/2011:08:40:22 +0600] [Job 28] Job title: Test Page
D [16/Aug/2011:08:40:22 +0600] [Job 28] File(s) to be printed:
D [16/Aug/2011:08:40:22 +0600] [Job 28] <STDIN>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printing system options:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Pondering option 'job-uuid=urn:uuid:ec0c6742-247e-3510-4df0-df0c4861f6a9'
D [16/Aug/2011:08:40:22 +0600] [Job 28] Unknown option job-uuid=urn:uuid:ec0c6742-247e-3510-4df0-df0c4861f6a9.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Pondering option 'job-originating-host-name=localhost'
D [16/Aug/2011:08:40:22 +0600] [Job 28] Unknown option job-originating-host-name=localhost.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Options from the PPD file:
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] ================================================
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] File: <STDIN>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] ================================================
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] PNG image: 128x128x8, color_type=6 (RGB+ALPHA)
D [16/Aug/2011:08:40:22 +0600] [Job 28] PNG image: 192x128x8, color_type=2 (RGB)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Resolution: 600
D [16/Aug/2011:08:40:22 +0600] [Job 28] Page size: Letter
D [16/Aug/2011:08:40:22 +0600] [Job 28] Width: 612, height: 792, absolute margins: 18, 14.39999961853, 594, 777.599975585938
D [16/Aug/2011:08:40:22 +0600] [Job 28] Relative margins: 18, 14.39999961853, 18, 14.400024414062
D [16/Aug/2011:08:40:22 +0600] [Job 28] PPD options: -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792
D [16/Aug/2011:08:40:22 +0600] [Job 28] PostScript to be injected:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Running cat | /usr/bin/gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -dDoNumCopies -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sOutputFile=- -c .setpdfwrite -f -
D [16/Aug/2011:08:40:22 +0600] [Job 28] Filetype: PDF
D [16/Aug/2011:08:40:22 +0600] [Job 28] Storing temporary files in /var/spool/cups/tmp
D [16/Aug/2011:08:40:22 +0600] [Job 28] File contains 1 pages
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting renderer with command: gs -dFirstPage=1 -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet 1018" -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- /var/spool/cups/tmp/foomatic-iBmYJQ
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "kid3" (generation 1)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "kid4" (generation 2)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "renderer" (generation 2)
D [16/Aug/2011:08:40:22 +0600] [Job 28] JCL: 12345X@PJL
D [16/Aug/2011:08:40:22 +0600] [Job 28] <job data>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] STATE: +connecting-to-device
D [16/Aug/2011:08:40:22 +0600] [Job 28] prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
D [16/Aug/2011:08:40:22 +0600] [Job 28] renderer exited with status 0
D [16/Aug/2011:08:40:22 +0600] [Job 28] kid4 received signal 13
D [16/Aug/2011:08:40:22 +0600] [Job 28] kid3 finished
D [16/Aug/2011:08:40:22 +0600] [Job 28] Kid3 exit status: 0
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Closing foomatic-rip.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Backend returned status 1 (failed)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer stopped due to backend errors; please consult the error_log file for details.
D [16/Aug/2011:08:40:22 +0600] [Job 28] End of messages
D [16/Aug/2011:08:40:22 +0600] [Job 28] printer-state=5(stopped)
I understand how fix it. It Bug? Thanks for your help and sorry for my bad English. =) |
HP LaserJet 1102P
Hi, yesterday I successfully installed the printer on the server Debian, it worked, I hooked up the Linux client and windwos-clients, everything worked fine. Worked as long as I'm not pressed the power button on the printer. I turned off and turned on the printer and printer lost. I have error in cups error log:
/usr/lib/cups/backend/hp failed
I reinstall hplip and depends, but now i have error:
prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
Now Printer not work :(
Here's the output from the diagnostic commands:
******************************************
root@debSrv:~# hp-levels -g
warning: hp-levels should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Supply Levels Utility ver. 2.0
Copyright (c) 2001-9 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-levels[17732]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-levels[17732]: debug: Mode=0
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: Cache miss: hp_laserjet_professional_p1102
hp-levels[17732]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: Searching for section [hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: Found section [hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: {'hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c': ['HP_LaserJet_P1102']}
Using device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Printer: None
hp-levels[17732]: debug: Not starting dbus: running as root.
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: URI: backend=hp, is_hp=True, bus=usb, model=HP_LaserJet_Professional_P1102, serial=000000000Q81DLWGSI1c, dev=, host=, port=1
hp-levels[17732]: debug: Model/UI model: HP_LaserJet_Professional_P1102/HP LaserJet Professional p1102
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: Re-reading CUPS printer queue information.
hp-levels[17732]: debug: Opening device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c (not for printing)
hp-levels[17732]: debug: I/O mode=6
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Exception: 2 (Device not found)
error: Error opening device (Device not found). Exiting.
******************************************
root@debSrv:~# hp-probe
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-9 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.
--------------------------------
| 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*) ? 0
Using connection type: usb
--------------------
| DEVICE DISCOVERY |
--------------------
warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.
******************************************
root@debSrv:~# hp-query -d hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c -a
warning: hp-query should not be run as root/superuser.
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=0
fax-type=0
fw-download=True
icon=HP_LaserJet_1012.png
io-mfp-mode=6
io-mode=1
io-support=2
job-storage=0
linefeed-cal-type=0
model1=HP Laserjet Professional P1102 Printer
monitor-type=0
panel-check-type=0
pcard-type=0
plugin=1
plugin-reason=1
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=35A
r0-agent1-type=1
scan-style=0
scan-type=0
status-battery-check=0
status-dynamic-counters=0
status-type=8
support-released=True
support-subtype=2202411
support-type=2
support-ver=3.10.4
tech-class=['LJZjsMono']
tech-subclass=['NoAutoDuplex']
tech-type=3
usb-pid=42
usb-vid=1008
wifi-config=0
******************************************
root@debSrv:~# hp-setup -i
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-9 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 default.)
--------------------------------
| 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
error: No device selected/specified or that supports this functionality.
******************************************
root@debSrv:~# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.4.4
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_LaserJet_P1102>
Info HP_LaserJet_P1102
Location office
MakeModel HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
DeviceURI hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
State Stopped
StateMessage /usr/lib/cups/filter/foomatic-rip failed
StateTime 1313429756
Reason paused
Type 8425484
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 100 foomatic-rip
Filter application/vnd.cups-pdf 0 foomatic-rip
Filter application/vnd.cups-command 0 commandtops
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
******************************************
root@debSrv:~# ps aux | grep cups
root 12518 0.0 0.2 78232 3520 ? Ss Aug15 0:01 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root 17787 0.0 0.0 8708 840 pts/0 S+ 08:19 0:00 grep cups
******************************************
root@debSrv:~# lsusb
Bus 002 Device 004: ID 03f0:002a Hewlett-Packard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
******************************************
root@debSrv:~# hp-check
HP Linux Imaging and Printing System (ver. 3.10.6)
Dependency/Version Check Utility ver. 14.3
Copyright (c) 2001-9 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: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).
Saving output in log file: hp-check.log
Initializing. Please wait...
|/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux debSrv 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux
Distribution:
debian 6.0
Checking Python version...
OK, version 2.6.6 installed
Checking PyQt 4.x version...
OK, version 4.7.3 installed.
Checking for CUPS...
Status: планировщик запущен
Version: 1.4.4
error_log is set to level: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1
------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------
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).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.
Checking for dependency: CUPS image - CUPS image development files...
OK, found.
Checking for dependency: DBus - Message bus system...
OK, found.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
OK, found.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
OK, found.
Checking for dependency: libusb - USB library...
OK, found.
Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.
Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.
Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.
Checking for dependency: Python devel - Python development files...
OK, found.
Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.
Checking for dependency: Python XML libraries...
OK, found.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
OK, found.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.
----------------------
| HPLIP INSTALLATION |
----------------------
Currently installed HPLIP version...
HPLIP 3.10.6 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
Current contents of '~/.hplip/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_P1102
-----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
PPD: /etc/cups/ppd/HP_LaserJet_P1102.ppd
PPD Description: HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
Printer /usr/lib/cups/filter/foomatic-rip failedен с момента Пнд 15 Авг 2011 23:35:56 -
error: Required plug-in status: Not installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
error: Device not found
error: Communication status: Failed
----------------------
| SANE CONFIGURATION |
----------------------
'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
---------------------
| PYTHON EXTENSIONS |
---------------------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
HP Device 0x2a at 002:004:
Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
Device node: /dev/bus/usb/002/004
Mode: 0777
---------------
| USER GROUPS |
---------------
root lp lpadmin
User member of group 'lp'. Enables print/ scan/ fax.
User member of group 'lpadmin'.
-----------
| SUMMARY |
-----------
error: 2 errors and/or warnings.
Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html
Done.
root@debSrv:~# hp-probe
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-9 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.
--------------------------------
| 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
--------------------
| DEVICE DISCOVERY |
--------------------
warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.
Done.
**And Cups Error Log****************************************
D [16/Aug/2011:08:40:22 +0600] [Job 28] Parameter Summary
D [16/Aug/2011:08:40:22 +0600] [Job 28] -----------------
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Spooler: cups
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer: HP_LaserJet_P1102
D [16/Aug/2011:08:40:22 +0600] [Job 28] Shell: /bin/bash
D [16/Aug/2011:08:40:22 +0600] [Job 28] PPD file: /etc/cups/ppd/HP_LaserJet_P1102.ppd
D [16/Aug/2011:08:40:22 +0600] [Job 28] ATTR file:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer model: HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
D [16/Aug/2011:08:40:22 +0600] [Job 28] Job title: Test Page
D [16/Aug/2011:08:40:22 +0600] [Job 28] File(s) to be printed:
D [16/Aug/2011:08:40:22 +0600] [Job 28] <STDIN>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printing system options:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Pondering option 'job-uuid=urn:uuid:ec0c6742-247e-3510-4df0-df0c4861f6a9'
D [16/Aug/2011:08:40:22 +0600] [Job 28] Unknown option job-uuid=urn:uuid:ec0c6742-247e-3510-4df0-df0c4861f6a9.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Pondering option 'job-originating-host-name=localhost'
D [16/Aug/2011:08:40:22 +0600] [Job 28] Unknown option job-originating-host-name=localhost.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Options from the PPD file:
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] ================================================
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] File: <STDIN>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] ================================================
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] PNG image: 128x128x8, color_type=6 (RGB+ALPHA)
D [16/Aug/2011:08:40:22 +0600] [Job 28] PNG image: 192x128x8, color_type=2 (RGB)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Resolution: 600
D [16/Aug/2011:08:40:22 +0600] [Job 28] Page size: Letter
D [16/Aug/2011:08:40:22 +0600] [Job 28] Width: 612, height: 792, absolute margins: 18, 14.39999961853, 594, 777.599975585938
D [16/Aug/2011:08:40:22 +0600] [Job 28] Relative margins: 18, 14.39999961853, 18, 14.400024414062
D [16/Aug/2011:08:40:22 +0600] [Job 28] PPD options: -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792
D [16/Aug/2011:08:40:22 +0600] [Job 28] PostScript to be injected:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Running cat | /usr/bin/gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -dDoNumCopies -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sOutputFile=- -c .setpdfwrite -f -
D [16/Aug/2011:08:40:22 +0600] [Job 28] Filetype: PDF
D [16/Aug/2011:08:40:22 +0600] [Job 28] Storing temporary files in /var/spool/cups/tmp
D [16/Aug/2011:08:40:22 +0600] [Job 28] File contains 1 pages
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting renderer with command: gs -dFirstPage=1 -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet 1018" -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- /var/spool/cups/tmp/foomatic-iBmYJQ
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "kid3" (generation 1)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "kid4" (generation 2)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "renderer" (generation 2)
D [16/Aug/2011:08:40:22 +0600] [Job 28] JCL: 12345X@PJL
D [16/Aug/2011:08:40:22 +0600] [Job 28] <job data>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] STATE: +connecting-to-device
D [16/Aug/2011:08:40:22 +0600] [Job 28] prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
D [16/Aug/2011:08:40:22 +0600] [Job 28] renderer exited with status 0
D [16/Aug/2011:08:40:22 +0600] [Job 28] kid4 received signal 13
D [16/Aug/2011:08:40:22 +0600] [Job 28] kid3 finished
D [16/Aug/2011:08:40:22 +0600] [Job 28] Kid3 exit status: 0
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Closing foomatic-rip.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Backend returned status 1 (failed)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer stopped due to backend errors; please consult the error_log file for details.
D [16/Aug/2011:08:40:22 +0600] [Job 28] End of messages
D [16/Aug/2011:08:40:22 +0600] [Job 28] printer-state=5(stopped)
I understand how fix it. It Bug? Thanks for your help and sorry for my bad English. =) |
|
2011-08-17 13:23:46 |
gard |
summary |
hp backend failed, open device failed stat=12 |
HP LaserJet P1102, hp backend failed, open device failed stat=12 |
|
2011-08-17 13:24:18 |
gard |
description |
HP LaserJet 1102P
Hi, yesterday I successfully installed the printer on the server Debian, it worked, I hooked up the Linux client and windwos-clients, everything worked fine. Worked as long as I'm not pressed the power button on the printer. I turned off and turned on the printer and printer lost. I have error in cups error log:
/usr/lib/cups/backend/hp failed
I reinstall hplip and depends, but now i have error:
prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
Now Printer not work :(
Here's the output from the diagnostic commands:
******************************************
root@debSrv:~# hp-levels -g
warning: hp-levels should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Supply Levels Utility ver. 2.0
Copyright (c) 2001-9 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-levels[17732]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-levels[17732]: debug: Mode=0
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: Cache miss: hp_laserjet_professional_p1102
hp-levels[17732]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: Searching for section [hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: Found section [hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: {'hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c': ['HP_LaserJet_P1102']}
Using device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Printer: None
hp-levels[17732]: debug: Not starting dbus: running as root.
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: URI: backend=hp, is_hp=True, bus=usb, model=HP_LaserJet_Professional_P1102, serial=000000000Q81DLWGSI1c, dev=, host=, port=1
hp-levels[17732]: debug: Model/UI model: HP_LaserJet_Professional_P1102/HP LaserJet Professional p1102
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: Re-reading CUPS printer queue information.
hp-levels[17732]: debug: Opening device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c (not for printing)
hp-levels[17732]: debug: I/O mode=6
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Exception: 2 (Device not found)
error: Error opening device (Device not found). Exiting.
******************************************
root@debSrv:~# hp-probe
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-9 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.
--------------------------------
| 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*) ? 0
Using connection type: usb
--------------------
| DEVICE DISCOVERY |
--------------------
warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.
******************************************
root@debSrv:~# hp-query -d hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c -a
warning: hp-query should not be run as root/superuser.
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=0
fax-type=0
fw-download=True
icon=HP_LaserJet_1012.png
io-mfp-mode=6
io-mode=1
io-support=2
job-storage=0
linefeed-cal-type=0
model1=HP Laserjet Professional P1102 Printer
monitor-type=0
panel-check-type=0
pcard-type=0
plugin=1
plugin-reason=1
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=35A
r0-agent1-type=1
scan-style=0
scan-type=0
status-battery-check=0
status-dynamic-counters=0
status-type=8
support-released=True
support-subtype=2202411
support-type=2
support-ver=3.10.4
tech-class=['LJZjsMono']
tech-subclass=['NoAutoDuplex']
tech-type=3
usb-pid=42
usb-vid=1008
wifi-config=0
******************************************
root@debSrv:~# hp-setup -i
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-9 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 default.)
--------------------------------
| 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
error: No device selected/specified or that supports this functionality.
******************************************
root@debSrv:~# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.4.4
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_LaserJet_P1102>
Info HP_LaserJet_P1102
Location office
MakeModel HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
DeviceURI hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
State Stopped
StateMessage /usr/lib/cups/filter/foomatic-rip failed
StateTime 1313429756
Reason paused
Type 8425484
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 100 foomatic-rip
Filter application/vnd.cups-pdf 0 foomatic-rip
Filter application/vnd.cups-command 0 commandtops
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
******************************************
root@debSrv:~# ps aux | grep cups
root 12518 0.0 0.2 78232 3520 ? Ss Aug15 0:01 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root 17787 0.0 0.0 8708 840 pts/0 S+ 08:19 0:00 grep cups
******************************************
root@debSrv:~# lsusb
Bus 002 Device 004: ID 03f0:002a Hewlett-Packard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
******************************************
root@debSrv:~# hp-check
HP Linux Imaging and Printing System (ver. 3.10.6)
Dependency/Version Check Utility ver. 14.3
Copyright (c) 2001-9 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: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).
Saving output in log file: hp-check.log
Initializing. Please wait...
|/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux debSrv 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux
Distribution:
debian 6.0
Checking Python version...
OK, version 2.6.6 installed
Checking PyQt 4.x version...
OK, version 4.7.3 installed.
Checking for CUPS...
Status: планировщик запущен
Version: 1.4.4
error_log is set to level: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1
------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------
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).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.
Checking for dependency: CUPS image - CUPS image development files...
OK, found.
Checking for dependency: DBus - Message bus system...
OK, found.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
OK, found.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
OK, found.
Checking for dependency: libusb - USB library...
OK, found.
Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.
Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.
Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.
Checking for dependency: Python devel - Python development files...
OK, found.
Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.
Checking for dependency: Python XML libraries...
OK, found.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
OK, found.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.
----------------------
| HPLIP INSTALLATION |
----------------------
Currently installed HPLIP version...
HPLIP 3.10.6 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
Current contents of '~/.hplip/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_P1102
-----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
PPD: /etc/cups/ppd/HP_LaserJet_P1102.ppd
PPD Description: HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
Printer /usr/lib/cups/filter/foomatic-rip failedен с момента Пнд 15 Авг 2011 23:35:56 -
error: Required plug-in status: Not installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
error: Device not found
error: Communication status: Failed
----------------------
| SANE CONFIGURATION |
----------------------
'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
---------------------
| PYTHON EXTENSIONS |
---------------------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
HP Device 0x2a at 002:004:
Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
Device node: /dev/bus/usb/002/004
Mode: 0777
---------------
| USER GROUPS |
---------------
root lp lpadmin
User member of group 'lp'. Enables print/ scan/ fax.
User member of group 'lpadmin'.
-----------
| SUMMARY |
-----------
error: 2 errors and/or warnings.
Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html
Done.
root@debSrv:~# hp-probe
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-9 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.
--------------------------------
| 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
--------------------
| DEVICE DISCOVERY |
--------------------
warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.
Done.
**And Cups Error Log****************************************
D [16/Aug/2011:08:40:22 +0600] [Job 28] Parameter Summary
D [16/Aug/2011:08:40:22 +0600] [Job 28] -----------------
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Spooler: cups
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer: HP_LaserJet_P1102
D [16/Aug/2011:08:40:22 +0600] [Job 28] Shell: /bin/bash
D [16/Aug/2011:08:40:22 +0600] [Job 28] PPD file: /etc/cups/ppd/HP_LaserJet_P1102.ppd
D [16/Aug/2011:08:40:22 +0600] [Job 28] ATTR file:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer model: HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
D [16/Aug/2011:08:40:22 +0600] [Job 28] Job title: Test Page
D [16/Aug/2011:08:40:22 +0600] [Job 28] File(s) to be printed:
D [16/Aug/2011:08:40:22 +0600] [Job 28] <STDIN>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printing system options:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Pondering option 'job-uuid=urn:uuid:ec0c6742-247e-3510-4df0-df0c4861f6a9'
D [16/Aug/2011:08:40:22 +0600] [Job 28] Unknown option job-uuid=urn:uuid:ec0c6742-247e-3510-4df0-df0c4861f6a9.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Pondering option 'job-originating-host-name=localhost'
D [16/Aug/2011:08:40:22 +0600] [Job 28] Unknown option job-originating-host-name=localhost.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Options from the PPD file:
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] ================================================
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] File: <STDIN>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] ================================================
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] PNG image: 128x128x8, color_type=6 (RGB+ALPHA)
D [16/Aug/2011:08:40:22 +0600] [Job 28] PNG image: 192x128x8, color_type=2 (RGB)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Resolution: 600
D [16/Aug/2011:08:40:22 +0600] [Job 28] Page size: Letter
D [16/Aug/2011:08:40:22 +0600] [Job 28] Width: 612, height: 792, absolute margins: 18, 14.39999961853, 594, 777.599975585938
D [16/Aug/2011:08:40:22 +0600] [Job 28] Relative margins: 18, 14.39999961853, 18, 14.400024414062
D [16/Aug/2011:08:40:22 +0600] [Job 28] PPD options: -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792
D [16/Aug/2011:08:40:22 +0600] [Job 28] PostScript to be injected:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Running cat | /usr/bin/gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -dDoNumCopies -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sOutputFile=- -c .setpdfwrite -f -
D [16/Aug/2011:08:40:22 +0600] [Job 28] Filetype: PDF
D [16/Aug/2011:08:40:22 +0600] [Job 28] Storing temporary files in /var/spool/cups/tmp
D [16/Aug/2011:08:40:22 +0600] [Job 28] File contains 1 pages
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting renderer with command: gs -dFirstPage=1 -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet 1018" -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- /var/spool/cups/tmp/foomatic-iBmYJQ
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "kid3" (generation 1)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "kid4" (generation 2)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "renderer" (generation 2)
D [16/Aug/2011:08:40:22 +0600] [Job 28] JCL: 12345X@PJL
D [16/Aug/2011:08:40:22 +0600] [Job 28] <job data>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] STATE: +connecting-to-device
D [16/Aug/2011:08:40:22 +0600] [Job 28] prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
D [16/Aug/2011:08:40:22 +0600] [Job 28] renderer exited with status 0
D [16/Aug/2011:08:40:22 +0600] [Job 28] kid4 received signal 13
D [16/Aug/2011:08:40:22 +0600] [Job 28] kid3 finished
D [16/Aug/2011:08:40:22 +0600] [Job 28] Kid3 exit status: 0
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Closing foomatic-rip.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Backend returned status 1 (failed)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer stopped due to backend errors; please consult the error_log file for details.
D [16/Aug/2011:08:40:22 +0600] [Job 28] End of messages
D [16/Aug/2011:08:40:22 +0600] [Job 28] printer-state=5(stopped)
I understand how fix it. It Bug? Thanks for your help and sorry for my bad English. =) |
HP LaserJet P1102
Hi, yesterday I successfully installed the printer on the server Debian, it worked, I hooked up the Linux client and windwos-clients, everything worked fine. Worked as long as I'm not pressed the power button on the printer. I turned off and turned on the printer and printer lost. I have error in cups error log:
/usr/lib/cups/backend/hp failed
I reinstall hplip and depends, but now i have error:
prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
Now Printer not work :(
Here's the output from the diagnostic commands:
******************************************
root@debSrv:~# hp-levels -g
warning: hp-levels should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Supply Levels Utility ver. 2.0
Copyright (c) 2001-9 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-levels[17732]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-levels[17732]: debug: Mode=0
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: Cache miss: hp_laserjet_professional_p1102
hp-levels[17732]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: Searching for section [hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: Found section [hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
hp-levels[17732]: debug: {'hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c': ['HP_LaserJet_P1102']}
Using device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Printer: None
hp-levels[17732]: debug: Not starting dbus: running as root.
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: URI: backend=hp, is_hp=True, bus=usb, model=HP_LaserJet_Professional_P1102, serial=000000000Q81DLWGSI1c, dev=, host=, port=1
hp-levels[17732]: debug: Model/UI model: HP_LaserJet_Professional_P1102/HP LaserJet Professional p1102
hp-levels[17732]: debug: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c: back_end:hp is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 serial:000000000Q81DLWGSI1c dev_file: host: zc: port:1
hp-levels[17732]: debug: Re-reading CUPS printer queue information.
hp-levels[17732]: debug: Opening device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c (not for printing)
hp-levels[17732]: debug: I/O mode=6
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
hp-levels[17732]: debug: Exception: 2 (Device not found)
error: Error opening device (Device not found). Exiting.
******************************************
root@debSrv:~# hp-probe
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-9 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.
--------------------------------
| 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*) ? 0
Using connection type: usb
--------------------
| DEVICE DISCOVERY |
--------------------
warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.
******************************************
root@debSrv:~# hp-query -d hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c -a
warning: hp-query should not be run as root/superuser.
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=0
fax-type=0
fw-download=True
icon=HP_LaserJet_1012.png
io-mfp-mode=6
io-mode=1
io-support=2
job-storage=0
linefeed-cal-type=0
model1=HP Laserjet Professional P1102 Printer
monitor-type=0
panel-check-type=0
pcard-type=0
plugin=1
plugin-reason=1
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=35A
r0-agent1-type=1
scan-style=0
scan-type=0
status-battery-check=0
status-dynamic-counters=0
status-type=8
support-released=True
support-subtype=2202411
support-type=2
support-ver=3.10.4
tech-class=['LJZjsMono']
tech-subclass=['NoAutoDuplex']
tech-type=3
usb-pid=42
usb-vid=1008
wifi-config=0
******************************************
root@debSrv:~# hp-setup -i
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-9 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 default.)
--------------------------------
| 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
error: No device selected/specified or that supports this functionality.
******************************************
root@debSrv:~# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.4.4
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_LaserJet_P1102>
Info HP_LaserJet_P1102
Location office
MakeModel HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
DeviceURI hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
State Stopped
StateMessage /usr/lib/cups/filter/foomatic-rip failed
StateTime 1313429756
Reason paused
Type 8425484
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 100 foomatic-rip
Filter application/vnd.cups-pdf 0 foomatic-rip
Filter application/vnd.cups-command 0 commandtops
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
******************************************
root@debSrv:~# ps aux | grep cups
root 12518 0.0 0.2 78232 3520 ? Ss Aug15 0:01 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root 17787 0.0 0.0 8708 840 pts/0 S+ 08:19 0:00 grep cups
******************************************
root@debSrv:~# lsusb
Bus 002 Device 004: ID 03f0:002a Hewlett-Packard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
******************************************
root@debSrv:~# hp-check
HP Linux Imaging and Printing System (ver. 3.10.6)
Dependency/Version Check Utility ver. 14.3
Copyright (c) 2001-9 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: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).
Saving output in log file: hp-check.log
Initializing. Please wait...
|/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux debSrv 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux
Distribution:
debian 6.0
Checking Python version...
OK, version 2.6.6 installed
Checking PyQt 4.x version...
OK, version 4.7.3 installed.
Checking for CUPS...
Status: планировщик запущен
Version: 1.4.4
error_log is set to level: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1
------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------
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).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.
Checking for dependency: CUPS image - CUPS image development files...
OK, found.
Checking for dependency: DBus - Message bus system...
OK, found.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
OK, found.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
OK, found.
Checking for dependency: libusb - USB library...
OK, found.
Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.
Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.
Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.
Checking for dependency: Python devel - Python development files...
OK, found.
Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.
Checking for dependency: Python XML libraries...
OK, found.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
OK, found.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.
----------------------
| HPLIP INSTALLATION |
----------------------
Currently installed HPLIP version...
HPLIP 3.10.6 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
Current contents of '~/.hplip/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_P1102
-----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
PPD: /etc/cups/ppd/HP_LaserJet_P1102.ppd
PPD Description: HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
Printer /usr/lib/cups/filter/foomatic-rip failedен с момента Пнд 15 Авг 2011 23:35:56 -
error: Required plug-in status: Not installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
error: Device not found
error: Communication status: Failed
----------------------
| SANE CONFIGURATION |
----------------------
'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
---------------------
| PYTHON EXTENSIONS |
---------------------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
HP Device 0x2a at 002:004:
Device URI: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
Device node: /dev/bus/usb/002/004
Mode: 0777
---------------
| USER GROUPS |
---------------
root lp lpadmin
User member of group 'lp'. Enables print/ scan/ fax.
User member of group 'lpadmin'.
-----------
| SUMMARY |
-----------
error: 2 errors and/or warnings.
Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html
Done.
root@debSrv:~# hp-probe
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.10.6)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-9 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.
--------------------------------
| 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
--------------------
| DEVICE DISCOVERY |
--------------------
warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.
Done.
**And Cups Error Log****************************************
D [16/Aug/2011:08:40:22 +0600] [Job 28] Parameter Summary
D [16/Aug/2011:08:40:22 +0600] [Job 28] -----------------
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Spooler: cups
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer: HP_LaserJet_P1102
D [16/Aug/2011:08:40:22 +0600] [Job 28] Shell: /bin/bash
D [16/Aug/2011:08:40:22 +0600] [Job 28] PPD file: /etc/cups/ppd/HP_LaserJet_P1102.ppd
D [16/Aug/2011:08:40:22 +0600] [Job 28] ATTR file:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer model: HP LaserJet Professional p1102 hpijs, 3.10.6, requires proprietary plugin
D [16/Aug/2011:08:40:22 +0600] [Job 28] Job title: Test Page
D [16/Aug/2011:08:40:22 +0600] [Job 28] File(s) to be printed:
D [16/Aug/2011:08:40:22 +0600] [Job 28] <STDIN>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printing system options:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Pondering option 'job-uuid=urn:uuid:ec0c6742-247e-3510-4df0-df0c4861f6a9'
D [16/Aug/2011:08:40:22 +0600] [Job 28] Unknown option job-uuid=urn:uuid:ec0c6742-247e-3510-4df0-df0c4861f6a9.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Pondering option 'job-originating-host-name=localhost'
D [16/Aug/2011:08:40:22 +0600] [Job 28] Unknown option job-originating-host-name=localhost.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Options from the PPD file:
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] ================================================
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] File: <STDIN>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] ================================================
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] PNG image: 128x128x8, color_type=6 (RGB+ALPHA)
D [16/Aug/2011:08:40:22 +0600] [Job 28] PNG image: 192x128x8, color_type=2 (RGB)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Resolution: 600
D [16/Aug/2011:08:40:22 +0600] [Job 28] Page size: Letter
D [16/Aug/2011:08:40:22 +0600] [Job 28] Width: 612, height: 792, absolute margins: 18, 14.39999961853, 594, 777.599975585938
D [16/Aug/2011:08:40:22 +0600] [Job 28] Relative margins: 18, 14.39999961853, 18, 14.400024414062
D [16/Aug/2011:08:40:22 +0600] [Job 28] PPD options: -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792
D [16/Aug/2011:08:40:22 +0600] [Job 28] PostScript to be injected:
D [16/Aug/2011:08:40:22 +0600] [Job 28] Running cat | /usr/bin/gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -dDoNumCopies -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sOutputFile=- -c .setpdfwrite -f -
D [16/Aug/2011:08:40:22 +0600] [Job 28] Filetype: PDF
D [16/Aug/2011:08:40:22 +0600] [Job 28] Storing temporary files in /var/spool/cups/tmp
D [16/Aug/2011:08:40:22 +0600] [Job 28] File contains 1 pages
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting renderer with command: gs -dFirstPage=1 -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet 1018" -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- /var/spool/cups/tmp/foomatic-iBmYJQ
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "kid3" (generation 1)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "kid4" (generation 2)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Starting process "renderer" (generation 2)
D [16/Aug/2011:08:40:22 +0600] [Job 28] JCL: 12345X@PJL
D [16/Aug/2011:08:40:22 +0600] [Job 28] <job data>
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] STATE: +connecting-to-device
D [16/Aug/2011:08:40:22 +0600] [Job 28] prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81DLWGSI1c
D [16/Aug/2011:08:40:22 +0600] [Job 28] renderer exited with status 0
D [16/Aug/2011:08:40:22 +0600] [Job 28] kid4 received signal 13
D [16/Aug/2011:08:40:22 +0600] [Job 28] kid3 finished
D [16/Aug/2011:08:40:22 +0600] [Job 28] Kid3 exit status: 0
D [16/Aug/2011:08:40:22 +0600] [Job 28]
D [16/Aug/2011:08:40:22 +0600] [Job 28] Closing foomatic-rip.
D [16/Aug/2011:08:40:22 +0600] [Job 28] Backend returned status 1 (failed)
D [16/Aug/2011:08:40:22 +0600] [Job 28] Printer stopped due to backend errors; please consult the error_log file for details.
D [16/Aug/2011:08:40:22 +0600] [Job 28] End of messages
D [16/Aug/2011:08:40:22 +0600] [Job 28] printer-state=5(stopped)
I understand how fix it. It Bug? Thanks for your help and sorry for my bad English. =) |
|
2011-09-17 20:36:54 |
lucky |
bug task added |
|
hplip (Ubuntu) |
|
2011-09-20 21:19:37 |
Till Kamppeter |
hplip: status |
Fix Committed |
New |
|
2011-11-18 11:45:57 |
Sanjay Kumar |
hplip: assignee |
|
Sanjay Kumar (sanjay-kumar14) |
|
2011-11-18 11:46:11 |
Sanjay Kumar |
hplip: status |
New |
Confirmed |
|
2011-11-18 11:46:23 |
Sanjay Kumar |
hplip: status |
Confirmed |
In Progress |
|
2012-08-13 07:51:32 |
Launchpad Janitor |
hplip (Ubuntu): status |
New |
Confirmed |
|
2018-10-12 07:42:02 |
gf |
hplip (Ubuntu): status |
Confirmed |
Incomplete |
|
2018-10-12 07:42:05 |
gf |
bug |
|
|
added subscriber gf |