Printing mail

Subject: Printing mail

Date: Tue, 09 Nov 2010 06:51:12 -0800

To: notmuch@notmuchmail.org

Cc:

From: Keith Packard


Print is dead. Or so they say

Here's a script I'm using with '|' to get mail printed. As you can see,
it previews the mail on-screen with 'evince', from which you use the
regular 'print' dialog.

#!/bin/sh
tmp=`mktemp`
muttprint -p "TO_FILE:$tmp"
evince $tmp
rm $tmp

Making this more secure would be nice.

-- 
keith.packard@intel.com
part-000.sig (application/pgp-signature)

Thread: