From: martin f. krafft Date: Tue, 11 Nov 2008 20:47:08 +0000 (+0100) Subject: print via a2ps X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/b4cc16231104ade969aa9fa3aa670f14651357a9?ds=sidebyside print via a2ps --- diff --git a/.mutt/muttrc b/.mutt/muttrc index 259ecd9..b766430 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -3226,8 +3226,9 @@ set postponed="=drafts" # # # This specifies the command pipe that should be used to print messages. -# -set print_command="a2ps -Email -1 -o $TMPDIR/muttprint.ps" + +set print_command="iconv -s -tlatin1//TRANSLIT | a2ps -=mail -Xlatin1 --title='%D{%Y.%m.%d.%H%M%S}-\$t2-\$t1' -B --borders=no --header='\$t2: \$t1' --left-footer='#?l!%E!#?v|%E|%s./%s#|!' --right-footer='#?l!%s./%s#!#?v|%s./%s#|%E|!' -cl100 -2qP cupspdf" + # # set print_decode=yes # diff --git a/.muttprintrc b/.muttprintrc index 74e29eb..7d56168 100644 --- a/.muttprintrc +++ b/.muttprintrc @@ -6,7 +6,7 @@ # Here you can configure your printer # To print in a file, use the following entry: # PRINTER="TO_FILE:/home/berwal/test.ps" -PRINTER="lp" +PRINTER="pdf" # # Here you can set the print command @@ -15,7 +15,7 @@ PRINTER="lp" # CUPS: Either "CUPS" or an arbitrary command which # contains $CUPS_OPTIONS which is replaced by the # options used for CUPS -PRINT_COMMAND="lp" +PRINT_COMMAND="lp -d pdf" # # Here you can set the path to the penguin image