BorGG 03.11.2010 16:16
Есть вопрос! — HP 1020, CUPS и многостраничные документы Word 2003
Система - Ubuntu Server 10.04, печать через CUPS на HP 1020, hplip 3.10.9.При печати многостраничных документов (более 10 листов) у системы сносит крышу. Печатает произвольные листы (например 1-5 потом 10-15 и т.д.) в количестве 3-5 экземпляров. В чем может быть проблема?
Up: проблемный порт USB.
Всем спасибо.
smbd.conf
workgroup = C******
use client driver = yes
printing = cups
printcap name = cups
browseable = yes
writeable = yes
printable = yes
path = /var/spool/samba
create mask = 0700
comment = All Printers
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = yes
cupsd.conf
LogLevel debug
MaxLogSize 1000
SystemGroup lpadmin
Port 631
Listen /var/run/cups/cups.sock
ServerAlias *
Browsing On
BrowseOrder allow,deny
BrowseRemoteProtocols
BrowseAddress @LOCAL
BrowseLocalProtocols cups
DefaultAuthType Basic
"Location"
# Allow shared printing and remote administration...
Order allow,deny
Allow @LOCAL
Allow From 192.168.0.*
"Location"
"Location /admin"
# Allow remote administration...
Order allow,deny
Allow @LOCAL
Allow From 192.168.0.*
"Location"
"Location /admin/conf"
AuthType Default
Require user @SYSTEM
# Allow remote access to the configuration files...
Order allow,deny
Allow @LOCAL
Allow From 192.168.0.*
"Location"
error_log CUPS:
D <03/Nov/2010:14:58:20 +0200> CUPS-Get-Classes
D <03/Nov/2010:14:58:20 +0200> Returning IPP successful-ok for CUPS-Get-Classes (no URI) from localhost
D <03/Nov/2010:14:58:20 +0200> cupsdSetBusyState: Printing jobs and dirty files
D <03/Nov/2010:14:58:20 +0200> cupsdReadClient: 16 WAITING Closing on EOF
D <03/Nov/2010:14:58:20 +0200> cupsdCloseClient: 16
D <03/Nov/2010:14:58:21 +0200> prnt/backend/hp.c 371: read new pjl status: 10003
D <03/Nov/2010:14:58:27 +0200> prnt/backend/hp.c 371: read new pjl status: 10023
D <03/Nov/2010:14:58:41 +0200> STATE: -media-empty-error
D <03/Nov/2010:14:58:41 +0200> cupsdMarkDirty(P-----)
D <03/Nov/2010:14:58:41 +0200> Discarding unused printer-state-changed event...
I <03/Nov/2010:14:58:41 +0200> Saving printers.conf...
D <03/Nov/2010:14:58:41 +0200> cupsdSetBusyState: Printing jobs
syslog:
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1043: bulk_write failed buf=0xbf9a7394 size=8192 len=-19: Broken pipe
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1423: unable to write data hp:/usb/HP_LaserJet_1020?serial=FN0PAL6: Broken pipe
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1083: bulk_read failed: No such device
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1463: unable to read data hp:/usb/HP_LaserJet_1020?serial=FN0PAL6: No such device
Nov 3 14:54:52 printsrv hp<28684>: prnt/backend/hp.c 357: exiting thread -1225233552 error=12
Nov 3 14:54:52 printsrv hp<28684>: prnt/backend/hp.c 625: ERROR: 5012 device communication error!

+ 0 -
Для печати на принтеры HP в репозитории Ubuntu есть "HP Linux Printing and Imaging System" (hplip пакет). С большой долей вероятности установка этого пакета поможет решить проблему.
syslog:
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1043: bulk_write failed buf=0xbf9a7394 size=8192 len=-19: Broken pipe
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1423: unable to write data hp:/usb/HP_LaserJet_1020?serial=FN0PAL6: Broken pipe
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1083: bulk_read failed: No such device
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1463: unable to read data hp:/usb/HP_LaserJet_1020?serial=FN0PAL6: No such device
Nov 3 14:54:52 printsrv hp<28684>: prnt/backend/hp.c 357: exiting thread -1225233552 error=12
Nov 3 14:54:52 printsrv hp<28684>: prnt/backend/hp.c 625: ERROR: 5012 device communication error!
воткни в другой порт
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1043: bulk_write failed buf=0xbf9a7394 size=8192 len=-19: Broken pipe
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1423: unable to write data hp:/usb/HP_LaserJet_1020?serial=FN0PAL6: Broken pipe
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1083: bulk_read failed: No such device
Nov 3 14:54:52 printsrv hp<28684>: io/hpmud/musb.c 1463: unable to read data hp:/usb/HP_LaserJet_1020?serial=FN0PAL6: No such device
Nov 3 14:54:52 printsrv hp<28684>: prnt/backend/hp.c 357: exiting thread -1225233552 error=12
Nov 3 14:54:52 printsrv hp<28684>: prnt/backend/hp.c 625: ERROR: 5012 device communication error!