[Pkg-cups-devel] Bug#569580: cups: same error message, but only for some jobs...
Florian Mickler
florian at mickler.org
Sat Oct 9 16:11:09 UTC 2010
Package: cups
Version: 1.4.4-3
Severity: normal
I'm not shure if I should file a new bugreport. But the symptoms match. :|
I'm printing over the network to an HP LaserJet 1320 which is connected via USB.
On my laptop:
dmk at schatten ~ $ lpstat -t -p HP_LaserJet_1320_series
scheduler is running
no system default destination
device for HP_LaserJet_1320_series: ipp://192.168.0.112:631/printers/HP_LaserJet_1320_series
device for HP_psc_1100_series: ipp://192.168.0.112:631/printers/HP_psc_1100_series
HP_LaserJet_1320_series accepting requests since Sat 09 Oct 2010 06:25:21 AM CEST
HP_psc_1100_series accepting requests since Sat 09 Oct 2010 06:25:22 AM CEST
printer HP_LaserJet_1320_series is idle. enabled since Sat 09 Oct 2010 06:25:21 AM CEST
Printer is now online.
printer HP_psc_1100_series is idle. enabled since Sat 09 Oct 2010 06:25:22 AM CEST
HP_LaserJet_1320_series-903 dmk 1832960 Fri 08 Oct 2010 01:05:42 PM CEST
printer HP_LaserJet_1320_series is idle. enabled since Sat 09 Oct 2010 06:25:21 AM CEST
Printer is now online.
On my server:
mescharet:/var/log/cups# lpstat -t -p HP_LaserJet_1320_series
scheduler is running
no system default destination
device for HP_LaserJet_1320_series: usb://HP/LaserJet%201320%20series
device for HP_psc_1100_series: usb://HP/psc%201100%20series?serial=HU43JGP1N4B0
HP_LaserJet_1320_series accepting requests since Sat 09 Oct 2010 04:58:31 PM CEST
HP_psc_1100_series accepting requests since Tue 05 Oct 2010 10:03:40 PM CEST
printer HP_LaserJet_1320_series is idle. enabled since Sat 09 Oct 2010 04:58:31 PM CEST
Printer is now online.
printer HP_psc_1100_series is idle. enabled since Tue 05 Oct 2010 10:03:40 PM CEST
HP_LaserJet_1320_series-19 dmk 30600192 Fri 08 Oct 2010 01:09:38 PM CEST
HP_LaserJet_1320_series-34 dmk 1832960 Sat 09 Oct 2010 04:58:16 PM CEST
printer HP_LaserJet_1320_series is idle. enabled since Sat 09 Oct 2010 04:58:31 PM CEST
Printer is now online.
The error_log for job 34 is available at http://bin.d-labs.de/~dmk/job34_error_log
The pdf is at http://bin.d-labs.de/~dmk/line_tracker.pdf
Only the first page gets printed.
I installed psfontmgr, but still the same.
A quick primer from the logfile:
D [09/Oct/2010:16:58:31 +0200] [Job 34]
D [09/Oct/2010:16:58:31 +0200] [Job 34] Resolution: 600
D [09/Oct/2010:16:58:31 +0200] [Job 34] Page size: A4
D [09/Oct/2010:16:58:31 +0200] [Job 34] Width: 595, height: 842, absolute margins: 18, 14.39999961853, 577, 827.60000038147
D [09/Oct/2010:16:58:31 +0200] [Job 34] Relative margins: 18, 14.39999961853, 18, 14.39999961853
D [09/Oct/2010:16:58:31 +0200] [Job 34] PPD options: -r600 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842
D [09/Oct/2010:16:58:31 +0200] [Job 34] PostScript to be injected:
D [09/Oct/2010:16:58:31 +0200] [Job 34] Running cat | /usr/bin/gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -dDoNumCopies -r600 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sOutputFile=- -c .setpdfwrite -f -
D [09/Oct/2010:16:58:31 +0200] [Job 34] Error: /rangecheck in --image--
D [09/Oct/2010:16:58:31 +0200] [Job 34] Operand stack:
D [09/Oct/2010:16:58:31 +0200] [Job 34] --dict:7/8(L)--
D [09/Oct/2010:16:58:31 +0200] [Job 34] Execution stack:
D [09/Oct/2010:16:58:31 +0200] [Job 34] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1782 1 3 %oparray_pop
D [09/Oct/2010:16:58:31 +0200] [Job 34] Dictionary stack:
D [09/Oct/2010:16:58:31 +0200] [Job 34] --dict:1166/1684(ro)(G)-- --dict:1/20(G)-- --dict:107/200(L)--
D [09/Oct/2010:16:58:31 +0200] [Job 34] Current allocation mode is local
D [09/Oct/2010:16:58:31 +0200] [Job 34] Last OS error: 2
D [09/Oct/2010:16:58:31 +0200] [Job 34] GPL Ghostscript 8.71: Unrecoverable error, exit code 1
D [09/Oct/2010:16:58:31 +0200] [Job 34] Filetype: PDF
I have another 144-pages pdf from the same author which fails at page 34...
which is quite annoying, because i have killed ca. 100 pages worth of trees before
I realized that it's a permanent error...
I think independently a nice improvement to the filter chain would be to
catch the error above and abort the job instead of
printing what was piped through...
If you need more information, please feel free to ask.
Regards,
Flo
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages cups depends on:
ii adduser 3.112 add and remove users and groups
ii bc 1.06.95-2 The GNU bc arbitrary precision cal
ii cups-client 1.4.4-3 Common UNIX Printing System(tm) -
ii cups-common 1.4.4-3 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy
ii ghostscript 8.71~dfsg2-6 The GPL Ghostscript PostScript/PDF
ii libavahi-client3 0.6.27-2 Avahi client library
ii libavahi-common3 0.6.27-2 Avahi common library
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libcups2 1.4.4-3 Common UNIX Printing System(tm) -
ii libcupscgi1 1.4.4-3 Common UNIX Printing System(tm) -
ii libcupsdriver1 1.4.4-3 Common UNIX Printing System(tm) -
ii libcupsimage2 1.4.4-3 Common UNIX Printing System(tm) -
ii libcupsmime1 1.4.4-3 Common UNIX Printing System(tm) -
ii libcupsppdc1 1.4.4-3 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libgcc1 1:4.4.4-8 GCC support library
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.8.3+dfsg-1 MIT Kerberos runtime libraries - k
ii libijs-0.35 0.35-7 IJS raster image transport protoco
ii libkrb5-3 1.8.3+dfsg-1 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.23-6 OpenLDAP libraries
ii libpam0g 1.1.1-6 Pluggable Authentication Modules l
ii libpaper1 1.1.24 library for handling paper charact
ii libpoppler5 0.12.4-1.1 PDF rendering library
ii libslp1 1.2.1-7.8 OpenSLP libraries
ii libstdc++6 4.4.4-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.1 Linux Standard Base 3.2 init scrip
ii perl-modules 5.10.1-14 Core Perl modules
ii poppler-utils 0.12.4-1.1 PDF utilitites (based on libpopple
ii procps 1:3.2.8-9 /proc file system utilities
ii ssl-cert 1.0.26 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:
ii cups-driver-gutenprint 5.2.6-1 printer drivers for CUPS
ii foomatic-filters 4.0.5-3 OpenPrinting printer support - fil
ii ghostscript-cups 8.71~dfsg2-6 The GPL Ghostscript PostScript/PDF
Versions of packages cups suggests:
pn cups-bsd <none> (no description available)
pn cups-pdf <none> (no description available)
pn cups-ppdc <none> (no description available)
ii foomatic-db 20100630-1 OpenPrinting printer support - dat
ii foomatic-db-engine 4.0.4-3 OpenPrinting printer support - pro
pn hplip <none> (no description available)
ii smbclient 2:3.5.5~dfsg-1 command-line SMB/CIFS clients for
ii udev 160-1 /dev/ and hotplug management daemo
pn xpdf-korean | xpdf-japane <none> (no description available)
-- Configuration Files:
/etc/cups/cupsd.conf changed:
LogLevel warn
MaxLogSize 1m
SystemGroup lpadmin
Port 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols cups
DefaultAuthType Basic
<Location />
# Allow shared printing...
Order allow,deny
Allow all
</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, scsi, serial, socket, usb, snmp, dnssd
More information about the Pkg-cups-devel
mailing list