mail2ps



Description

mail2ps tries to mimic a2ps in mail mode. (in fact, the postscript prologue is copied verbatim from a2ps)

Warning

mail2ps is still (and is likely to remain) in an experimental / pre-release / alpha state. There might be serious bugs in the code. Use at your own risk!

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Download

Setup

Environment variables %TEMP% and %USERNAME% are consulted.

.muttrc
   set print = yes
   set print_command = "C:/apps/mutt/bin/mail2ps.bat %s"
   
   macro index p "\
   <enter-command>set charset=iso-8859-1<enter>\
   <print-message>\
   <enter-command>set charset=ibm850<enter>" "print the current entry"
   
   macro pager p "\
   <enter-command>set charset=iso-8859-1<enter>\
   <print-message>\
   <enter-command>set charset=ibm850<enter>" "print the current entry"

mail2ps.bat
   @echo off
   
   set USERNAME=Ulf Erikson
   set TEMP=C:/TEMP
   set FILE=%TEMP%/mail.ps
   C:\apps\mutt\bin\mail2ps.exe %1 %FILE%
   
   start %FILE%
   rem -- copy %FILE% PRN
   rem -- C:\apps\Ghostgum\gsview\gsprint %FILE%
   rem -- start C:\apps\Ghostgum\gsview\gsview32 %FILE%

Known bugs

Todo


Created on May 25, 2002.
Last modified on June 7, 2002.
[email protected]

Hosted by www.Geocities.ws

1