Sorry, i did not reply to the list.

On Tue, Dec 08, 2009 at 09:57:56AM +0100, Angel Spassov wrote:
> Dear mutt users,
>
> I have installed  'muttprint' in order to print my mails nicely.
> The preferred way for printing messages is on a local
> file instead of sending them to a printing device.
> 'muttprint' seems to produce Encapsulated PostScript files only,
> i.e. using LaTeX and not pdfLaTeX to compile them.
>
> Is it possible to produce a nicely printed, _local_PDF_file_ when pressing 
> 'p'.
> This is the corresponding entry in my .muttrc:
>
> set print_command="muttprint --printer TO_FILE:$HOME/Desktop/muttprint.eps  
> %s"

try something like:

    set print_command="muttprint -p - | ps2pdf - mail.pdf"

well, some time ago, just for fun, i wrote a little script in python to
print email directly in pdf without the need of all the dependencies of
muttprint (read latex) but is a little bit raw and i think, because i don't
really know muttprint and latex, that muttprint is more powerful. if you
are interested on it i can put it online to the public mocking.

> Best,
> AS

m.

Attachment: signature.asc
Description: Digital signature

Reply via email to