From 3b96c7ee3570583c298cf89c22934467da24aa0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 10 Feb 2019 14:02:46 +0100 Subject: Add muttprint --- patches/muttprint_two_edge.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/muttprint_two_edge.patch (limited to 'patches/muttprint_two_edge.patch') 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 @@ +--- 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"); + } -- cgit v1.2.3