On Fri, Jun 07, 2002 at 03:31:43PM +0200, Olaf Foellinger wrote: > > 3) no Muttprint or functional equivalent; > > in .muttrc > > set print_command=$HOME/bin/print > > $ cat ~/bin/print > #!/bin/sh > cat > .printout > lpr -S <server> -P <printer> .printout > > where <server> is a windows print server with lpd enabled.
This script solved my more basic problem of getting _anything_ to my printer from the Cygwin command line. However, it does not "pretty print" in the style of Muttprint (see http://muttprint.sourceforge.net/pics/sampe.png). However, enscript has recently appeared in the Cygwin distribution, so putting Olaf's script together with a suggestion Darren made on this list a few months ago yields: $ cat ~/bin/muttprint #!/bin/sh enscript -Email > .printout c:/winnt/system32/lpr -S <server> -P <printer> .printout which at least highlights the headers differently from the text body, but does not suppress header lines such as Received:, X-*:, etc, in the manner of Muttprint. The script uses the full path for lpr because the Cygwin lpr behaves differently. Tom -- Dr. Thomas Baker [EMAIL PROTECTED] Institutszentrum Schloss Birlinghoven mobile +49-171-408-5784 Fraunhofer-Gesellschaft work +49-30-8109-9027 53754 Sankt Augustin, Germany fax +49-2241-14-2619