pretty-print mutt emails
Marcelo Laia
marcelolaia at gmail.com
Tue Nov 23 16:37:42 UTC 2021
Em dom., 21 de nov. de 2021 às 21:47, Globe Trotter via Mutt-users
<mutt-users at mutt.org> escreveu:
>
> What is the recommended way to pretty-print mutt emails? I found a sourceforge perl script called muttprint but that was last updated in 2008, and I was wondering what folks here recommended?
>
I use muttprint like this:
Firstly, install muttprint (apt install muttprint does the trick if
you use Debian based distro)
So, insert this line in your muttrc
set print_command = 'set -e; f=`mktemp /tmp/"$(date
+%Y-%m-%d-%H-%M-%S)-"XXXXXX.ps`; muttprint -P A4 -p TO_FILE:"$f";
ps2pdf $f $f.pdf ; rm $f ; evince "$f.pdf"
If you want, chance evince to any pdf reader you like.
--
Laia, M. L.
More information about the Mutt-users
mailing list