summaryrefslogtreecommitdiff
path: root/debian/patches/01_printing_defaults.dpatch
blob: 7f037bceca52a97cfc6ac9d4bb61160aa44e8995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_printing_defaults.dpatch by  <jblache@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Change default printing options, switch from lpr to lp.

@DPATCH@
diff -urNad xsane-0.995~/src/xsane.h xsane-0.995/src/xsane.h
--- xsane-0.995~/src/xsane.h	2008-09-08 11:02:36.000000000 +0200
+++ xsane-0.995/src/xsane.h	2008-09-08 11:03:17.191704659 +0200
@@ -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"