summaryrefslogtreecommitdiff
path: root/debian/patches/04_lp_lpr_workaround.diff
blob: e8c6ebf7dd735cb091205a4067bd0ee1b1a1d129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## 04_lp_lpr_workaround.dpatch by Per Olofsson <pelle@debian.org>

Index: b/etc/a2ps_cfg.in
===================================================================
--- a/etc/a2ps_cfg.in
+++ b/etc/a2ps_cfg.in
@@ -413,13 +413,13 @@
 # with a hook to post-process PostScript (to call psbook for instance).
 # Something like `#{lp.hook} lp  #{lp.options}'
 #             or `#{lp.hook} lpr #{lp.options}'.
-Variable: lp.default #{lp.hook} @LPR@ #{lp.options}
+Variable: lp.default #{lp.hook} a2ps-lpr-wrapper #{lp.options}
 
 
 # The same, but when a printer is specified.
 # Something like `#{lp.hook} lp  #{lp.options} -d'
 #             or `#{lp.hook} lpr #{lp.options} -P'.
-Variable: lp #{lp.hook} @LPR@ #{lp.options} @LPR_QUEUE_OPTION@
+Variable: lp #{lp.hook} a2ps-lpr-wrapper #{lp.options} -d
 
 
 # To avoid that the next installation of a2ps destroys your