diff options
Diffstat (limited to 'patches/muttprint_two_edge.patch')
-rw-r--r-- | patches/muttprint_two_edge.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/muttprint_two_edge.patch b/patches/muttprint_two_edge.patch new file mode 100644 index 0000000..4a7290d --- /dev/null +++ b/patches/muttprint_two_edge.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | --- a/muttprint 2016-05-05 13:48:50.515950744 +1200 | ||
2 | +++ b/muttprint 2016-05-05 13:52:10.722623902 +1200 | ||
3 | @@ -643,14 +643,14 @@ | ||
4 | if ($Config{PAPERSAVE} eq "on") { | ||
5 | if ($useCups) { | ||
6 | $Config{PRINT_COMMAND} =~ | ||
7 | - s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/; | ||
8 | + s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/; | ||
9 | } else { # no cups | ||
10 | modifyPS("landscape"); | ||
11 | } | ||
12 | } else { # no papersave | ||
13 | if ($useCups) { | ||
14 | $Config{PRINT_COMMAND} =~ | ||
15 | - s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/; | ||
16 | + s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/; | ||
17 | } else { # no cups | ||
18 | modifyPS("portrait"); | ||
19 | } | ||