Opened 8 years ago

Closed 7 years ago

#126 closed defect (fixed)

printing fails with "Unable to read print data."

Reported by: Lewis Rosenthal Owned by:
Priority: Feedback pending Milestone:
Component: cups Version:
Severity: highest Keywords:
Cc:

Description

cups-debuginfo-2.1.3-7.oc00.i686
cups-filesystem-2.1.3-7.oc00.noarch
cups-lpd-2.1.3-7.oc00.i686
cups-2.1.3-7.oc00.i686
cups-libs-2.1.3-7.oc00.i686
cups-filters-debuginfo-1.8.2-5.oc00.i686
cups-filters-1.8.2-5.oc00.i686
cups-client-2.1.3-7.oc00.i686
cups-filters-libs-1.8.2-5.oc00.i686
ghostscript-9.18-5.oc00.i686
ghostscript-fonts-6.0-1.oc00.noarch
gutenprint-extras-5.2.11-3.oc00.i686
gutenprint-libs-5.2.11-3.oc00.i686
gutenprint-cups-5.2.11-3.oc00.i686
gutenprint-doc-5.2.11-3.oc00.i686
gutenprint-5.2.11-3.oc00.i686
hplip-common-3.16.3-1.oc00.i686
hplip-3.16.3-1.oc00.i686
hplip-libs-3.16.3-1.oc00.i686

ThinkPad T60

Error log attached.

Changed the USB stack (Lars' 208 build), and I now get a usable printer name coming back to allow me to not only find new printers but to install.

Installed new USB-connected HP Color LaserJet 3800 using HPIJS.

When sending test page to printer, error_log returns:

I [23/Oct/2016:14:10:53 +0500] [Job 10] Sending data to printer.
D [23/Oct/2016:14:10:53 +0500] cupsdMarkDirty(---J-)
D [23/Oct/2016:14:10:53 +0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [23/Oct/2016:14:10:53 +0500] [Job 10] Set job-printer-state-message to "Sending data to printer.", current level=INFO
E [23/Oct/2016:14:10:53 +0500] [Job 10] Unable to read print data.
D [23/Oct/2016:14:10:53 +0500] cupsdMarkDirty(---J-)
D [23/Oct/2016:14:10:53 +0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [23/Oct/2016:14:10:53 +0500] [Job 10] Set job-printer-state-message to "Unable to read print data.", current level=ERROR
D [23/Oct/2016:14:10:53 +0500] [Job 10] select: Socket operation on non-socket
D [23/Oct/2016:14:10:53 +0500] Discarding unused job-progress event...
D [23/Oct/2016:14:10:53 +0500] Discarding unused printer-state-changed event...
W [23/Oct/2016:14:10:53 +0500] cupsdDoSelect: select() returned -1... pause and retry select()
D [23/Oct/2016:14:10:54 +0500] [Client 23] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [23/Oct/2016:14:10:54 +0500] [Client 23] Closing connection.
D [23/Oct/2016:14:10:54 +0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [23/Oct/2016:14:10:54 +0500] [Job 10] PDF template file doesn\'t have form. It\'s okay.
D [23/Oct/2016:14:10:54 +0500] [Job 10] PID 449 (/@unixroot/usr/lib/cups/backend/usb.exe) stopped with status 1.
D [23/Oct/2016:14:10:54 +0500] [Job 10] PID 444 (/@unixroot/usr/lib/cups/filter/bannertopdf.exe) exited with no errors.
D [23/Oct/2016:14:10:54 +0500] [Job 10] Filetype: PDF
D [23/Oct/2016:14:10:54 +0500] [Job 10] Storing temporary files in C:\\var\\temp
D [23/Oct/2016:14:10:54 +0500] [Job 10] Process is dying with \"Failed to execute ghostscript to determine number of input pages!
D [23/Oct/2016:14:10:54 +0500] [Job 10] \", exit stat 6
D [23/Oct/2016:14:10:54 +0500] [Job 10] Cleaning up...
W [23/Oct/2016:14:10:54 +0500] cupsdDoSelect: select() returned -1... pause and retry select()
D [23/Oct/2016:14:10:54 +0500] [Job 10] PID 445 (/@unixroot/usr/lib/cups/filter/pdftopdf.exe) exited with no errors.
D [23/Oct/2016:14:10:54 +0500] [Job 10] PID 448 (/@unixroot/usr/lib/cups/filter/foomatic-rip.exe) stopped with status 6.
I [23/Oct/2016:14:10:54 +0500] [Job 10] Backend returned status 1 (failed)
D [23/Oct/2016:14:10:54 +0500] Discarding unused job-state-changed event...
I [23/Oct/2016:14:10:54 +0500] [Job 10] Printer stopped due to backend errors; please consult the error_log file for details.

foomatic test page also attached. So, we are getting the test data generated, but sending is a problem (as the log indicates).

Attachments (4)

cups-error-log.zip (14.8 KB ) - added by Lewis Rosenthal 8 years ago.
cups error log
printers.conf (1.0 KB ) - added by Lewis Rosenthal 8 years ago.
printers conf
foomatic-SxFE7P (39.1 KB ) - added by Lewis Rosenthal 8 years ago.
printer test page
cups-error-log.2.zip (14.3 KB ) - added by Lewis Rosenthal 8 years ago.
cups error log after change in print driver

Download all attachments as: .zip

Change History (10)

by Lewis Rosenthal, 8 years ago

Attachment: cups-error-log.zip added

cups error log

by Lewis Rosenthal, 8 years ago

Attachment: printers.conf added

printers conf

by Lewis Rosenthal, 8 years ago

Attachment: foomatic-SxFE7P added

printer test page

comment:1 by Lewis Rosenthal, 8 years ago

Changed driver to HP Color LaserJet 3800 pcl3, hpcups 3.16.5 (color, 2-sided printing) and was able to get blank page to generate.

error_log attached.

Version 0, edited 8 years ago by Lewis Rosenthal (next)

by Lewis Rosenthal, 8 years ago

Attachment: cups-error-log.2.zip added

cups error log after change in print driver

comment:2 by Silvan Scherrer, 8 years ago

could you eventually try all tests with the socket backend first? Just to see if it's a general issue or a usb issue. I can't test USB atm, as I have no USB attached printer here.

comment:3 by psmedley, 8 years ago

Assuming libusb is also in play here by usb.exe? My build or an rpm of it?

comment:4 by Silvan Scherrer, 7 years ago

Priority: majorFeedack pending

is this still open?

comment:5 by Lewis Rosenthal, 7 years ago

I am not seeing this message anymore (unable to read print data) with:

cups-filesystem-2.1.3-7.oc00.noarch
cups-filters-libs-1.8.2-5.oc00.i686
cups-2.1.3-7.oc00.i686
cups-filters-1.8.2-5.oc00.i686
cups-client-2.1.3-7.oc00.i686
gutenprint-cups-5.2.11-3.oc00.i686
cups-libs-2.1.3-7.oc00.i686
gnu-ghostscript-9.14-1.oc00.i686
ghostscript-fonts-6.0-1.oc00.noarch
gutenprint-5.2.11-3.oc00.i686
gutenprint-cups-5.2.11-3.oc00.i686
gutenprint-libs-5.2.11-3.oc00.i686
hplip-common-3.16.3-1.oc00.i686
hplip-libs-3.16.3-1.oc00.i686
hplip-3.16.3-1.oc00.i686

However, the problem rpeorted in #143 persists (regardless which backend is in use, USB or socket).

comment:6 by Lewis Rosenthal, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.