[Pkg-cups-devel] Bug#631859: cups: PDF files no longer prints
Steinar Bang
sb at dod.no
Mon Jun 27 21:01:53 UTC 2011
Package: cups
Version: 1.4.4-7
Severity: important
The http://somemachine:631/printers/hpulf page currently holds 9 jobs,
that are all PDF files, and all have the State:
stopped
"May not be a PDF file (continuing anyway)"
All of them have been printed from Acroread in Windows Vista, using IPP.
The printer is an HP 2550L ColorLaserJet with PostScript (actually: ghostscript).
The /var/log/cups/error_log entries for the newest stopped PDF job, are:
...
E [26/Jun/2011:20:44:40 +0200] [Job 1670] May not be a PDF file (continuing anyway)
E [26/Jun/2011:20:44:40 +0200] [Job 1670] PDF file is damaged - attempting to reconstruct xref table...
E [26/Jun/2011:20:44:41 +0200] [Job 1670] Couldn't find trailer dictionary
E [26/Jun/2011:20:44:41 +0200] [Job 1670] Couldn't read xref table
E [26/Jun/2011:20:44:41 +0200] [Job 1670] Tom utskriftsfil!
E [26/Jun/2011:20:44:41 +0200] [Job 1670] Job stopped due to filter errors; please consult the error_log file for details.
D [26/Jun/2011:20:44:41 +0200] [Job 1670] The following messages were recorded from 20:44:35 to 20:44:41
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Adding start banner page "none".
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Adding end banner page "none".
D [26/Jun/2011:20:44:41 +0200] [Job 1670] File of type application/pdf queued by "tlf at DE-BE-20-52-41-53".
D [26/Jun/2011:20:44:41 +0200] [Job 1670] hold_until=0
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Queued on "hpulf" by "tlf at DE-BE-20-52-41-53".
D [26/Jun/2011:20:44:41 +0200] [Job 1670] job-sheets=none,none
D [26/Jun/2011:20:44:41 +0200] [Job 1670] argv[0]="hpulf"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] argv[1]="1670"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] argv[2]="tlf at DE-BE-20-52-41-53"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] argv[3]="Tilleggsopplysninger.pdf"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] argv[4]="1"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] argv[5]="document-name=Tilleggsopplysninger.pdf job-uuid=urn:uuid:3e92a346-37ef-341e-6a2b-64f5b43eff46 job-originating-host-name=10.10.10.10"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] argv[6]="/var/spool/cups/d01670-001"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[8]="HOME=/var/spool/cups/tmp"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[10]="SERVER_ADMIN=root at doohan"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[11]="SOFTWARE=CUPS/1.4.4"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[13]="TZ=Europe/Oslo"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[14]="USER=root"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[17]="IPP_PORT=631"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[18]="CHARSET=utf-8"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[19]="LANG=no.UTF-8"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[20]="PPD=/etc/cups/ppd/hpulf.ppd"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[21]="RIP_MAX_CACHE=auto"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[22]="CONTENT_TYPE=application/pdf"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[23]="DEVICE_URI=usb://HP/color%20LaserJet%202550%20series"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[24]="PRINTER_INFO=HP Color LaserJet 2550L"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[25]="PRINTER_LOCATION=Kjellerstue"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[26]="PRINTER=hpulf"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[27]="CUPS_FILETYPE=document"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] envp[28]="FINAL_CONTENT_TYPE=printer/hpulf"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Started filter /usr/lib/cups/filter/pdftopdf (PID 4074)
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Started filter /usr/lib/cups/filter/cpdftocps (PID 4075)
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Started filter /usr/lib/cups/filter/foomatic-rip (PID 4076)
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Started backend /usr/lib/cups/backend/usb (PID 4077)
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Getting input from file
D [26/Jun/2011:20:44:41 +0200] [Job 1670] foomatic-rip version 4.0.5.223 running...
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Parsing PPD file ...
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Added option PageSize
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Added option ImageableArea
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Added option PaperDimension
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Added option InputSlot
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Added option Duplex
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Added option Resolution
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Added option PreFilter
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Added option Font
D [26/Jun/2011:20:44:41 +0200] [Job 1670]
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Parameter Summary
D [26/Jun/2011:20:44:41 +0200] [Job 1670] -----------------
D [26/Jun/2011:20:44:41 +0200] [Job 1670]
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Spooler: cups
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Printer: hpulf
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Shell: /bin/bash
D [26/Jun/2011:20:44:41 +0200] [Job 1670] PPD file: /etc/cups/ppd/hpulf.ppd
D [26/Jun/2011:20:44:41 +0200] [Job 1670] ATTR file:
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Printer model: HP Color LaserJet 2550 Foomatic/Postscript (recommended)
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Job title: Tilleggsopplysninger.pdf
D [26/Jun/2011:20:44:41 +0200] [Job 1670] File(s) to be printed:
D [26/Jun/2011:20:44:41 +0200] [Job 1670] <STDIN>
D [26/Jun/2011:20:44:41 +0200] [Job 1670]
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Printing system options:
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Pondering option 'document-name=Tilleggsopplysninger.pdf'
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Unknown option document-name=Tilleggsopplysninger.pdf.
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Pondering option 'job-uuid=urn:uuid:3e92a346-37ef-341e-6a2b-64f5b43eff46'
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Unknown option job-uuid=urn:uuid:3e92a346-37ef-341e-6a2b-64f5b43eff46.
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Pondering option 'job-originating-host-name=10.10.10.10'
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Unknown option job-originating-host-name=10.10.10.10.
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Options from the PPD file:
D [26/Jun/2011:20:44:41 +0200] [Job 1670]
D [26/Jun/2011:20:44:41 +0200] [Job 1670] ================================================
D [26/Jun/2011:20:44:41 +0200] [Job 1670]
D [26/Jun/2011:20:44:41 +0200] [Job 1670] File: <STDIN>
D [26/Jun/2011:20:44:41 +0200] [Job 1670]
D [26/Jun/2011:20:44:41 +0200] [Job 1670] ================================================
D [26/Jun/2011:20:44:41 +0200] [Job 1670]
D [26/Jun/2011:20:44:41 +0200] [Job 1670] STATE: +connecting-to-device
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Printer using device file "/dev/usb/lp0"...
D [26/Jun/2011:20:44:41 +0200] [Job 1670] STATE: -connecting-to-device
D [26/Jun/2011:20:44:41 +0200] [Job 1670] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=-1, addr=(nil), use_bc=1, side_cb=0xb779db10)
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Received 31 bytes of back-channel data!
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Received 1 bytes of back-channel data!
D [26/Jun/2011:20:44:41 +0200] [Job 1670] pdftops argv[5] = 1670 tlf at DE-BE-20-52-41-53 Tilleggsopplysninger.pdf 1 document-name=Tilleggsopplysninger.pdf job-uuid=urn:uuid:3e92a346-37ef-341e-6a2b-64f5b43eff46 job-originating-host-name=10.10.10.10
D [26/Jun/2011:20:44:41 +0200] [Job 1670] PPD: /etc/cups/ppd/hpulf.ppd
D [26/Jun/2011:20:44:41 +0200] [Job 1670] /usr/bin/pdftops supports '-origpagesizes': yes
D [26/Jun/2011:20:44:41 +0200] [Job 1670] PostScript Level: 3
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Duplex: no
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Resolution:
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Page size: A4
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Width: 595, height: 842, absolute margins: 0, 0, 595, 842
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Relative margins: 0, 0, 0, 0
D [26/Jun/2011:20:44:41 +0200] [Job 1670] PPD options: -level3 -origpagesizes
D [26/Jun/2011:20:44:41 +0200] [Job 1670] PostScript to be injected:
D [26/Jun/2011:20:44:41 +0200] [Job 1670] perl: warning: Setting locale failed.
D [26/Jun/2011:20:44:41 +0200] [Job 1670] perl: warning: Please check that your locale settings:
D [26/Jun/2011:20:44:41 +0200] [Job 1670] LANGUAGE = (unset),
D [26/Jun/2011:20:44:41 +0200] [Job 1670] LC_ALL = (unset),
D [26/Jun/2011:20:44:41 +0200] [Job 1670] LANG = "no.UTF-8"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] are supported and installed on your system.
D [26/Jun/2011:20:44:41 +0200] [Job 1670] perl: warning: Falling back to the standard locale ("C").
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Set job-printer-state-message to "May not be a PDF file (continuing anyway)", current level=ERROR
D [26/Jun/2011:20:44:41 +0200] [Job 1670] perl: warning: Setting locale failed.
D [26/Jun/2011:20:44:41 +0200] [Job 1670] perl: warning: Please check that your locale settings:
D [26/Jun/2011:20:44:41 +0200] [Job 1670] LANGUAGE = (unset),
D [26/Jun/2011:20:44:41 +0200] [Job 1670] LC_ALL = (unset),
D [26/Jun/2011:20:44:41 +0200] [Job 1670] LANG = "no.UTF-8"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] are supported and installed on your system.
D [26/Jun/2011:20:44:41 +0200] [Job 1670] perl: warning: Falling back to the standard locale ("C").
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Device copies: 1; device collate:
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Running /usr/bin/pdftops -level3 -origpagesizes /var/spool/cups/tmp/pdftops.raZCfE -
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Running pstops '1670' 'tlf at DE-BE-20-52-41-53' 'Tilleggsopplysninger.pdf' '1' ' document-name=Tilleggsopplysninger.pdf job-uuid=urn:uuid:3e92a346-37ef-341e-6a2b-64f5b43eff46 job-originating-host-name=10.10.10.10'
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Error: May not be a PDF file (continuing anyway)
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Error: PDF file is damaged - attempting to reconstruct xref table...
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Error: Couldn't find trailer dictionary
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Error: Couldn't read xref table
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Cannot process "<STDIN>": Unknown filetype.
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Process is dying with "Could not print file <STDIN>
D [26/Jun/2011:20:44:41 +0200] [Job 1670] ", exit stat 2
D [26/Jun/2011:20:44:41 +0200] [Job 1670] Cleaning up...
D [26/Jun/2011:20:44:41 +0200] [Job 1670] End of messages
D [26/Jun/2011:20:44:41 +0200] [Job 1670] printer-state=3(idle)
D [26/Jun/2011:20:44:41 +0200] [Job 1670] printer-state-message="Tom utskriftsfil!"
D [26/Jun/2011:20:44:41 +0200] [Job 1670] printer-state-reasons=none
...
-- System Information:
Debian Release: 6.0.2
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages cups depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii bc 1.06.95-2 The GNU bc arbitrary precision cal
ii cups-client 1.4.4-7 Common UNIX Printing System(tm) -
ii cups-common 1.4.4-7 Common UNIX Printing System(tm) -
ii cups-ppdc 1.4.4-7 Common UNIX Printing System(tm) -
ii debconf [debconf-2. 1.5.36.1 Debian configuration management sy
ii ghostscript 8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF
ii libavahi-client3 0.6.27-2+squeeze1 Avahi client library
ii libavahi-common3 0.6.27-2+squeeze1 Avahi common library
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcups2 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupscgi1 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupsdriver1 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupsimage2 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupsmime1 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupsppdc1 1.4.4-7 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.24-4+squeeze1 simple interprocess messaging syst
ii libgcc1 1:4.4.5-8 GCC support library
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.8.3+dfsg-4squeeze1 MIT Kerberos runtime libraries - k
ii libijs-0.35 0.35-7 IJS raster image transport protoco
ii libkrb5-3 1.8.3+dfsg-4squeeze1 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.23-7.2 OpenLDAP libraries
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l
ii libpaper1 1.1.24 library for handling paper charact
ii libpoppler5 0.12.4-1.2 PDF rendering library
ii libslp1 1.2.1-7.8 OpenSLP libraries
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.12-16 userspace USB programming library
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii poppler-utils 0.12.4-1.2 PDF utilitites (based on libpopple
ii procps 1:3.2.8-9 /proc file system utilities
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL
ii ttf-freefont 20090104-7 Freefont Serif, Sans and Mono True
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages cups recommends:
pn cups-driver-gutenprint <none> (no description available)
ii foomatic-filters 4.0.5-6 OpenPrinting printer support - fil
ii ghostscript-cups 8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF
Versions of packages cups suggests:
ii cups-bsd 1.4.4-7 Common UNIX Printing System(tm) -
pn cups-pdf <none> (no description available)
ii foomatic-db 20100630-1 OpenPrinting printer support - dat
pn hplip <none> (no description available)
ii smbclient 2:3.5.6~dfsg-3squeeze4 command-line SMB/CIFS clients for
ii udev 164-3 /dev/ and hotplug management daemo
pn xpdf-korean | xpd <none> (no description available)
-- Configuration Files:
/etc/cups/cupsd.conf changed:
LogLevel warn
MaxLogSize 0
SystemGroup lpadmin
Port 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
<Location />
# Allow shared printing...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin>
# Restrict access to the admin pages...
Order allow,deny
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow,deny
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
<Limit Create-Job Print-Job Print-URI>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
-- debconf information:
cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, socket, usb
More information about the Pkg-cups-devel
mailing list