File: xhtml2ps_defaults.patch

package info (click to toggle)
html2ps 1.0b7-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,208 kB
  • sloc: perl: 4,539; tcl: 1,799; sh: 38; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Ralf Treinen <treinen@debian.org>
Last-Update: 2011-08-06
Description: Set the default postscript viewer in xhtml2ps to "see"
 Upstream default doesn't fit well with a Debian system. Using see and
 lpr are a better default since they match commands available for
 Debian. Bug #72034 has a bigger discussion regarding the subject.

Index: html2ps-1.0b7/contrib/xhtml2ps/xhtml2ps
===================================================================
--- html2ps-1.0b7.orig/contrib/xhtml2ps/xhtml2ps	2011-01-10 02:41:55.000000000 -0200
+++ html2ps-1.0b7/contrib/xhtml2ps/xhtml2ps	2011-01-10 02:44:40.000000000 -0200
@@ -804,8 +804,8 @@
   array set stusr {
     command     "html2ps"
     checker     "weblint -x Netscape"
-    viewer      "ghostview -magstep -2 -a4"
-    printcmd    "lp"
+    viewer      "see"
+    printcmd    "lpr"
     filepcmd    "exec cp"
     orientation " "
     colonnes    " "