summaryrefslogtreecommitdiff
path: root/print/ja-a2ps
diff options
context:
space:
mode:
authorkei <kei>2002-09-30 02:40:52 +0000
committerkei <kei>2002-09-30 02:40:52 +0000
commit2c945e0a685b5e9d06173be72548a001a08a981d (patch)
treeef5243d0446a057aaa8a8b85f9b65fc735138815 /print/ja-a2ps
parent3ff8644fef2a875e695a3a018bebb4e65edcb0cd (diff)
downloadpkgsrc-2c945e0a685b5e9d06173be72548a001a08a981d.tar.gz
Added a small patch to remove the feature for the original LaserWriter
which causes an annoyance in modrern PS printer, GhostScript, etc. See pkg/12904. I forgot to commit this in months. Thomas Klausner, Johnny Lam, and Frederick Bruckman helped me a lot to find out what is actually happen and where to fix. Thank you.
Diffstat (limited to 'print/ja-a2ps')
-rw-r--r--print/ja-a2ps/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/print/ja-a2ps/patches/patch-aa b/print/ja-a2ps/patches/patch-aa
new file mode 100644
index 00000000000..2c800526c01
--- /dev/null
+++ b/print/ja-a2ps/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2002/09/30 02:40:52 kei Exp $
+
+--- a2ps.pl-1.44.orig Fri Mar 15 22:22:10 2002
++++ a2ps.pl-1.44 Fri Mar 15 22:24:14 2002
+@@ -496,8 +496,6 @@
+ /inch {72 mul} bind def
+ ---
+ print "%% SelectTray\n";
+- print "statusdict /${paper_tray}tray known { ";
+- print "statusdict begin ${paper_tray}tray end } if\n";
+
+ printf("/landscape %s def\n", !$portrait ? "true" : "false");
+ printf("/twinpage %s def\n", $twinpage ? "true" : "false");