You are not logged in.

#1 2011-01-30 18:27:49

syre
Member
From: Denmark
Registered: 2009-08-04
Posts: 100

printing glitches on my archlinux server

Hello archers,

i've been having some problems with my archlinux server. Connected to the server is a HP Laserjet CM1312 printer via USB, server is shared via CUPS and Samba.
I've followed the Archwiki guide for CUPS and Samba for installing the printer.
The specific problem i'm having is printing from a Windows machine. After printing has begun, printing is first fine, but then it'll sometimes start to print gibberish like this (with PCL5): http://ompldr.org/vNzd2aw
I've yet to experience problems printing from my linux machine. I've tried shifting in between drivers on the Windows machine (PCL5, PCL6, Postscript)
Switching to a Postscript driver on the Windows machine prints fine, but after a while produces errors like this: http://ompldr.org/vNzd2dw
CUPS error log contains:

E [30/Jan/2011:21:03:05 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [30/Jan/2011:21:04:00 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
D [30/Jan/2011:21:06:20 +0100] [Job 51] The following messages were recorded from 21:00:03 to 21:06:20
D [30/Jan/2011:21:06:20 +0100] [Job 51] Adding start banner page "none".
D [30/Jan/2011:21:06:20 +0100] [Job 51] Adding end banner page "none".
D [30/Jan/2011:21:06:20 +0100] [Job 51] File of type application/vnd.cups-raw queued by "nobody".
D [30/Jan/2011:21:06:20 +0100] [Job 51] hold_until=0
D [30/Jan/2011:21:06:20 +0100] [Job 51] Queued on "HP_Color_LaserJet_CM1312_MFP_USB_00CNF8B3Q1SC_HPLIP" by "nobody".
D [30/Jan/2011:21:06:20 +0100] [Job 51] job-sheets=none,none
D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[0]="HP_Color_LaserJet_CM1312_MFP_USB_00CNF8B3Q1SC_HPLIP"
D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[1]="51"
D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[2]="nobody"
D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[3]="smbprn.00000039 Remote Downlevel Document"
D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[4]="1"
D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[5]="job-originating-host-name=::ffff:192.168.1.133 job-uuid=urn:uuid:6345dae1-010f-3774-55f6-7cb213dff752 time-at-creation=1296417603 time-at-processing=1296417976 AP_D_InputSlot="
D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[6]="/var/spool/cups/d00051-001"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[8]="HOME=/var/spool/cups/tmp"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[10]="SERVER_ADMIN=root@localhost.localdomain"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[11]="SOFTWARE=CUPS/1.4.6"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[13]="USER=root"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[16]="IPP_PORT=631"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[17]="CHARSET=utf-8"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[18]="LANG=en_US.UTF-8"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[19]="PPD=/etc/cups/ppd/HP_Color_LaserJet_CM1312_MFP_USB_00CNF8B3Q1SC_HPLIP.ppd"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[20]="RIP_MAX_CACHE=8m"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[21]="CONTENT_TYPE=application/vnd.cups-raw"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[22]="DEVICE_URI=hp:/usb/HP_Color_LaserJet_CM1312_MFP?serial=00CNF8B3Q1SC"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[23]="PRINTER_INFO=HP Color LaserJet CM1312 MFP"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[24]="PRINTER_LOCATION=Local Printer"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[25]="PRINTER=HP_Color_LaserJet_CM1312_MFP_USB_00CNF8B3Q1SC_HPLIP"
D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[26]="CUPS_FILETYPE=document"
D [30/Jan/2011:21:06:20 +0100] [Job 51] Started backend /usr/lib/cups/backend/hp (PID 22315)
D [30/Jan/2011:21:06:20 +0100] [Job 51] PAGE: 1 1
D [30/Jan/2011:21:06:20 +0100] [Job 51] STATE: +connecting-to-device
D [30/Jan/2011:21:06:20 +0100] [Job 51] STATE: -connecting-to-device
D [30/Jan/2011:21:06:20 +0100] [Job 51] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other
D [30/Jan/2011:21:06:20 +0100] [Job 51] prnt/backend/hp.c 625: ERROR: 5021 device communication error!
D [30/Jan/2011:21:06:20 +0100] [Job 51] Backend returned status 4 (stop printer)
D [30/Jan/2011:21:06:20 +0100] [Job 51] Printer stopped due to backend errors; please consult the error_log file for details.
D [30/Jan/2011:21:06:20 +0100] [Job 51] End of messages
D [30/Jan/2011:21:06:20 +0100] [Job 51] printer-state=5(stopped)
D [30/Jan/2011:21:06:20 +0100] [Job 51] printer-state-message="/usr/lib/cups/backend/hp failed"
D [30/Jan/2011:21:06:20 +0100] [Job 51] printer-state-reasons=paused
E [30/Jan/2011:21:11:22 +0100] [Job 51] Stopping unresponsive job!

Hope you can help me out.

Offline

Board footer

Powered by FluxBB