aboutsummaryrefslogtreecommitdiff
path: root/flakes/mypackages/pkgs/muttprint/two_edge.patch
blob: 4a7290d313c49cc7a59f8adf09cd02ab75db1138 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/muttprint	2016-05-05 13:48:50.515950744 +1200
+++ b/muttprint	2016-05-05 13:52:10.722623902 +1200
@@ -643,14 +643,14 @@
 	if ($Config{PAPERSAVE} eq "on") {
 		if ($useCups) {
 			$Config{PRINT_COMMAND} =~ 
-				s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/;
+				s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/;
 		} else { # no cups
 			modifyPS("landscape");
 		}
 	} else { # no papersave
 		if ($useCups) {
 			$Config{PRINT_COMMAND} =~ 
-				s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/;
+				s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/;
 		} else { # no cups
 			modifyPS("portrait");
 		}