summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason2016-05-05 14:00:39 +1200
committerjason2016-05-05 14:00:39 +1200
commitd4d7e8acbe3676991ece82bfa4a89b134e3c7916 (patch)
treea812ee1c865730d6d38de7a50bae31e6f2bdac66
parenta0ff526e3b06542105ba37676a4951baaba86cf8 (diff)
downloadaur-d4d7e8acbe3676991ece82bfa4a89b134e3c7916.tar.gz
Added dtbaumann's patch for double sided printing
-rw-r--r--two_edge.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/two_edge.patch b/two_edge.patch
new file mode 100644
index 000000000000..4a7290d313c4
--- /dev/null
+++ b/two_edge.patch
@@ -0,0 +1,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");
+ }