pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/29301: cupsomatic-2.2 generates excessibly empty pages
Note: There was a bad value `seriuos' for the field `Severity'.
It was set to the default value of `serious'.
>Number: 29301
>Category: pkg
>Synopsis: cupsomatic prit jobs generate empty pages
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 09 13:15:00 +0000 2005
>Originator: kardel
>Release: NetBSD 2.0G/2.0/-current
>Organization:
>Environment:
System: NetBSD Orcus 2.0G NetBSD 2.0G (ORCUS32) #0: Sun Sep 12 20:28:21 CEST
2004 kardel@Orcus:/usr/src/sys/arch/i386/compile/ORCUS32 i386
Architecture: i386
Machine: i386
>Description:
Current cupsomatic-2.2 installation generated many emtpy pages
on HP PS printes (prbably not limited to those). The reason is a bug
in the page accounting code of the cupsomatic filter script.
The cupsEndPage must return true only for reason codes != 2.
The version at www.linuxprinting.org has been fixed (probably
some time ago).
>How-To-Repeat:
Install cupsomatic-2.2.
Print to a HP Laserjet (lpr -P... /etc/group)
Collect 4 empty bonus pages
>Fix:
Short term fix - upgrade to current version from linuxprinting.org might be
better.
--- cupsomatic 2005/02/09 10:15:40 1.2
+++ cupsomatic 2005/02/09 13:01:05
@@ -129,14 +129,13 @@
} bind def
/cupsEndPage {
(PAGE: ) cupsWrite
- pop % ignore reason code
+ 2 ne exch
1 add 40 string cvs cupsWrite
( ) cupsWrite
#copies 40 string cvs cupsWrite
(\\n) cupsWrite
- true
} bind def
<</EndPage{cupsEndPage}>>setpagedevice
} stopped cleartomark
" : "";
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index