]> git.madduck.net Git - etc/mutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

print via a2ps
authormartin f. krafft <madduck@madduck.net>
Tue, 11 Nov 2008 20:47:08 +0000 (21:47 +0100)
committermartin f. krafft <madduck@madduck.net>
Tue, 11 Nov 2008 20:47:08 +0000 (21:47 +0100)
.mutt/muttrc
.muttprintrc

index 259ecd937eb785a8897d739c8968ddab389532a7..b76643065ecdfa475b1f6ee5351104384a3e60cd 100644 (file)
@@ -3226,8 +3226,9 @@ set postponed="=drafts"
 # 
 # 
 # This specifies the command pipe that should be used to print messages.
 # 
 # 
 # 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
 #
 # 
 # set print_decode=yes
 #
index 74e29ebc25abdc202ac11a7d07478d00eb1b1a78..7d56168726b4015989420f54d03121bd38ac6300 100644 (file)
@@ -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"
 # 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
 
 #
 # 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
 # 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
 
 #
 # Here you can set the path to the penguin image