Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37527919
en ru br
Репозитории ALT
S:3.23.8-alt1
5.1: 3.11.5-alt0.M51.1
4.1: 2.8.10-alt2.M41.1
4.0: 2.7.12-alt2.M40.1
+backports:2.8.10-alt2.M40.1
3.0:
+backports:1.6.6a-alt0.M30.4.1
www.altlinux.org/Changes

Группа :: Издательство
Пакет: hplip

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: HP-LaserJet_4000-PostScript-PPD.patch
Скачать


From d99ff4c2b519c7fc8d3160f317d2dbbe88335b21 Mon Sep 17 00:00:00 2001
From: Jean Tourrilhes <jt@hpl.hp.com>
Date: Fri, 22 Jul 2016 09:33:10 +0200
Subject: LaserJet PostScript 4000 PPD bugfix
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.
Origin: vendor
Bug: https://bugs.launchpad.net/hplip/+bug/1298194
Bug-Debian: https://bugs.debian.org/742766
Patch-Name: HP-LaserJet_4000-PostScript-PPD.patch
---
 prnt/ps/hp-laserjet_4000_series-ps.ppd | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff --git a/prnt/ps/hp-laserjet_4000_series-ps.ppd b/prnt/ps/hp-laserjet_4000_series-ps.ppd
index db1248c45..66c403271 100644
--- a/prnt/ps/hp-laserjet_4000_series-ps.ppd
+++ b/prnt/ps/hp-laserjet_4000_series-ps.ppd
@@ -97,6 +97,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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin