summaryrefslogtreecommitdiff
path: root/debian/patches/deb_printing_defaults.patch
blob: 0e55191e2f9f2dc6b605171b42a0ab4d4b7fcd4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"