summaryrefslogtreecommitdiff
path: root/debian/patches/deb_printing_defaults.patch
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2010-03-13 21:14:18 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:50 +0000
commit05f0966f64f56ad3348ce8569324ee6c3e692aa8 (patch)
treee51d62e303adefd66617fa1857c174baf2034d68 /debian/patches/deb_printing_defaults.patch
parent4aa3c3e04255085feb30735357bf7394c9788d81 (diff)
Imported Debian patch 0.996-4debian/0.996-4
Diffstat (limited to 'debian/patches/deb_printing_defaults.patch')
-rw-r--r--debian/patches/deb_printing_defaults.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/deb_printing_defaults.patch b/debian/patches/deb_printing_defaults.patch
new file mode 100644
index 0000000..a3b9ce5
--- /dev/null
+++ b/debian/patches/deb_printing_defaults.patch
@@ -0,0 +1,20 @@
+Description: Set default printing options for lp
+ Change default printing options, switch from lpr to lp.
+Author: Julien BLACHE <jblache@debian.org>
+Forwarded: not-needed
+
+Index: xsane-0.996/src/xsane.h
+===================================================================
+--- xsane-0.996.orig/src/xsane.h 2010-03-13 20:42:33.711742315 +0100
++++ xsane-0.996/src/xsane.h 2010-03-13 20:42:56.787742668 +0100
+@@ -510,8 +510,8 @@
+
+ #define OUT_FILENAME "out.pnm"
+ #define PRINTERNAME "new printer"
+-#define PRINTERCOMMAND "lpr"
+-#define PRINTERCOPYNUMBEROPTION "-#"
++#define PRINTERCOMMAND "lp"
++#define PRINTERCOPYNUMBEROPTION "-n"
+ #define FAXPROJECT "faxproject"
+ #define FAXCOMMAND "sendfax"
+ #define FAXRECEIVEROPT "-d"