summaryrefslogtreecommitdiff
path: root/debian/patches/0120-deb_printing_defaults.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-26 19:32:34 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-26 19:32:34 +0100
commit665bbcae09168c39c73117e04c5f14d09e25b50c (patch)
tree7f49401e0ee6b9fed693e764fb1e96a7801f2115 /debian/patches/0120-deb_printing_defaults.patch
parenta67d929a8725f0a0ee722bd49f698602d33b6a77 (diff)
Rename and refresh the patches
Diffstat (limited to 'debian/patches/0120-deb_printing_defaults.patch')
-rw-r--r--debian/patches/0120-deb_printing_defaults.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/0120-deb_printing_defaults.patch b/debian/patches/0120-deb_printing_defaults.patch
new file mode 100644
index 0000000..0e55191
--- /dev/null
+++ b/debian/patches/0120-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.998/src/xsane.h
+===================================================================
+--- xsane-0.998.orig/src/xsane.h 2010-11-16 22:00:33.000000000 +0100
++++ xsane-0.998/src/xsane.h 2011-02-04 19:50:22.945016002 +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"