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

Bug#742766: printer-driver-postscript-hp: HP LaserJet PostScript PPD buggy in Wheezy



Package: printer-driver-postscript-hp
Version: 3.12.6-3.1+deb7u1
Severity: important
Tags: patch

The PostScript PPD for the HP LaserJet 4000 is buggy, and prevent printing
complex documents.
The 4000 and 4050 are pretty much the same printer. The fix was to extract the
missing snipset from the PPD for the 4050 and put it in the PPD for the 4000.

Patch is attached.




-- System Information:
Debian Release: 7.4
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages printer-driver-postscript-hp depends on:
ii  hplip     3.12.6-3.1+deb7u1
ii  python    2.7.3-4+deb7u1
ii  xz-utils  5.1.1alpha+20120614-2

printer-driver-postscript-hp recommends no packages.

printer-driver-postscript-hp suggests no packages.
--- Casa4000.ppd.old	2014-03-26 22:02:47.000000000 -0700
+++ Casa4000.ppd	2014-03-26 22:03:40.000000000 -0700
@@ -98,6 +98,17 @@
 *SuggestedWaitTimeout: "120"
 *PrintPSErrors: True
 
+*% =================================
+*% PostScript Patches
+*% =================================
+*JobPatchFile 1: "
+/limitinterpolate { dup type /dicttype eq { dup /Interpolate known { dup /Interpolate get {
+	1 1 idtransform 2 index /ImageMatrix get dtransform exch abs 1 exch div exch abs 1 exch div 2 copy lt
+	{ exch }if pop 4 lt { dup /Interpolate false put } if } if } if } if
+} bind def
+/image { limitinterpolate systemdict /image get exec } bind def
+/imagemask { limitinterpolate systemdict /imagemask get exec } bind def"
+*End
 
 *% ===================================
 *%         Installable Options

Reply to: