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

Bug#799027: cups: scanned print job vanishes



Package: cups
Version: 1.7.5-11+deb8u1
Severity: normal

Hi,

This seems like something you might want to know about.

After upgrading to jessie I found that scanned print
jobs don't print, they vanish as described in bug #638933.
They are sent via cups to the box which acts as a print
spooler, the printer light comes on, and the print
job goes away.  Here are the details:

Scanned with xsane in "copy" mode.  Print command is "lp".
Box is checked which says: "Create zlib compressed postscript
image (PS level 3) for printing"

Printer is HP Laserjet 1200.  Driver chosen is:
HP Laserjet 1200 Postscript (recommended)

I believe, but could have gotten confused, that the following
lines in /var/log/cups/error_log are related to this problem
(with "LogLevel debug" in /etc/cups/cupsd.conf):

D [14/Sep/2015:21:06:51 -0500] Discarding unused printer-state-changed event...
D [14/Sep/2015:21:06:51 -0500] [Job 1811] 2 filters for job:
D [14/Sep/2015:21:06:51 -0500] [Job 1811] pstops (application/postscript to application/vnd.cups-postscript, cost 66)
D [14/Sep/2015:21:06:51 -0500] [Job 1811] - (application/vnd.cups-postscript to printer/HP_LaserJet_1200, cost 0)


If I uncheck the xsane configuration box which says:
"Create zlib compressed postscript image (PS level 3) for printing"
Then scans print.

Note that if I save the the file produced by xsane (by creating a
script that says "cat - > /tmp/foo" and telling xsane tto use
it as a print command) I do not see a compressed file.  The
first lines are:

%!PS-Adobe-3.0
%%Creator: XSane version 0.996 (sane 1.0) - by Oliver Rauch

Looking at the xsane file with gv raises a dialog box which
says that there's a zlib error and it's continuing anyway
("incorrect header check").  And zlib-flate -uncompress
complains with: "flate: inflate: data: incorrect header check"


Other information which might be useful:

The scanner also fails to copy when used with the
other recommended driver for the HP Laserjet 1200.
Driver: "HP Laserjet 1200 Foomatic/pximono (recommended) (en)"
I can't remember whether the print job disappears or
the printer goes offline in this case.

The messages in the logs for this driver are (I think):

D [12/Sep/2015:11:00:30 -0500] [Job 1774] Started filter /usr/lib/cups/filter/gziptoany (PID 3071)
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Started filter /usr/lib/cups/filter/pdftops (PID 3072)
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Started backend /usr/lib/cups/backend/hp (PID 3073)
D [12/Sep/2015:11:00:30 -0500] [Job 1774] pdftops - copying to temp print file "/var/spool/cups/tmp/00c0055f75d03"
D [12/Sep/2015:11:00:30 -0500] [Job 1774] PID 3071 (/usr/lib/cups/filter/gziptoany) exited with no errors.
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Printer make and model: HP Hewlett-Packard HP LaserJet 1200
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Switching to Poppler's pdftops instead of Ghostscript for old HP LaserJet ("LaserJet <number>", no letters before <number>) printers to work around bugs in the printer's PS interpreters
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Running command line for pstops: pstops 1774 kop (stdin) 1 'finishings=3 job-uuid=urn:uuid:bcbe767a-1b37-3701-6568-de1b7a058187 number-up=1 job-originating-host-name=slate.meme.com time-at-creation=1442073622 time-at-processing=1442073622'
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Using image rendering resolution 600 dpi
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Running command line for pdftops: pdftops -level2 -origpagesizes -nocenter -r 600 /var/spool/cups/tmp/00c0055f75d03 -
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Started filter pdftops (PID 3074)
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Started filter pstops (PID 3075)
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Syntax Warning: May not be a PDF file (continuing anyway)
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Syntax Error: Couldn't find trailer dictionary
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Syntax Error: Couldn't find trailer dictionary
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Syntax Error: Couldn't read xref table
D [12/Sep/2015:11:00:30 -0500] [Job 1774] The print file is empty.
D [12/Sep/2015:11:00:30 -0500] [Job 1774] PID 3075 (pstops) stopped with status 1!
D [12/Sep/2015:11:00:30 -0500] [Job 1774] prnt/backend/hp.c 902: ERROR: null print job total=0
D [12/Sep/2015:11:00:30 -0500] [Job 1774] PID 3072 (/usr/lib/cups/filter/pdftops) stopped with status 1.
D [12/Sep/2015:11:00:30 -0500] [Job 1774] Hint: Try setting the LogLevel to "debug" to find out more.
D [12/Sep/2015:11:00:30 -0500] [Job 1774] PID 3073 (/usr/lib/cups/backend/hp) exited with no errors.
D [12/Sep/2015:11:00:30 -0500] [Job 1774] End of messages

Since there is a workaround I'm happy to ignore the problem but thought
I'd report it.

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cups depends on:
ii  cups-client            1.7.5-11+deb8u1
ii  cups-common            1.7.5-11+deb8u1
ii  cups-core-drivers      1.7.5-11+deb8u1
ii  cups-daemon            1.7.5-11+deb8u1
ii  cups-filters           1.0.61-5+deb8u1
ii  cups-ppdc              1.7.5-11+deb8u1
ii  cups-server-common     1.7.5-11+deb8u1
ii  debconf [debconf-2.0]  1.5.56
ii  ghostscript            9.06~dfsg-2+deb8u1
ii  libavahi-client3       0.6.31-5
ii  libavahi-common3       0.6.31-5
ii  libc-bin               2.19-18+deb8u1
ii  libc6                  2.19-18+deb8u1
ii  libcups2               1.7.5-11+deb8u1
ii  libcupscgi1            1.7.5-11+deb8u1
ii  libcupsimage2          1.7.5-11+deb8u1
ii  libcupsmime1           1.7.5-11+deb8u1
ii  libcupsppdc1           1.7.5-11+deb8u1
ii  libgcc1                1:4.9.2-10
ii  libstdc++6             4.9.2-10
ii  libusb-1.0-0           2:1.0.19-1
ii  lsb-base               4.1+Debian13+nmu1
ii  poppler-utils          0.26.5-2
ii  procps                 2:3.3.9-9

Versions of packages cups recommends:
pn  avahi-daemon                     <none>
ii  colord                           1.2.1-1+b2
ii  cups-filters [ghostscript-cups]  1.0.61-5+deb8u1
ii  printer-driver-gutenprint        5.2.10-3

Versions of packages cups suggests:
ii  cups-bsd                                   1.7.5-11+deb8u1
pn  cups-pdf                                   <none>
ii  foomatic-db-compressed-ppds [foomatic-db]  20150411-1
ii  hplip                                      3.14.6-1+b2
ii  printer-driver-hpcups                      3.14.6-1+b2
ii  smbclient                                  2:4.1.17+dfsg-2
ii  udev                                       215-17+deb8u2

-- Configuration Files:
/etc/cups/cups-files.conf 2ada8629cf8d280aa4fb7d06ee5a7e2e [Errno 2] No such file or directory: u'/etc/cups/cups-files.conf 2ada8629cf8d280aa4fb7d06ee5a7e2e'
/etc/cups/cupsd.conf.default 9ffef7ab095f3f35dcd108ba52de6295 [Errno 2] No such file or directory: u'/etc/cups/cupsd.conf.default 9ffef7ab095f3f35dcd108ba52de6295'
/etc/default/cups 2b436fbb1a32b82b6aba45a76a1d7e40 [Errno 2] No such file or directory: u'/etc/default/cups 2b436fbb1a32b82b6aba45a76a1d7e40'
/etc/init.d/cups 7aaba466614799b00d74c700fe04c603 [Errno 2] No such file or directory: u'/etc/init.d/cups 7aaba466614799b00d74c700fe04c603'
/etc/pam.d/cups ff2488324854f7b1e892bb0df062d5f0 [Errno 2] No such file or directory: u'/etc/pam.d/cups ff2488324854f7b1e892bb0df062d5f0'

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: lpd, socket, usb, snmp, dnssd


Reply to: