The script has been written by Bernhard Walle <Bernhard.Walle@gmx.de>.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
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. See the GNU General Public License for more details.
You have received a copy of the GNU General Public License along with this program (file COPYING).
Please send notes, comments, improvement proposals etc. via e-mail to me.
The translations are copyrighted by the respective translators. Read README.translations for the names of the translator.
The current version and all old versions could be downloaded from http://muttprint.sourceforge.net. This is the Homepage of Muttprint.
I announce new versions on Freshmeat.
Muttprint is not able to print mail attachments. To reach this, Muttprint would have to parse the raw MIME message and decode it. This is quite difficult. For example Muttprint would have to decrypt PGP-encrypted messages, choose the right alternative in multipart/alternative messages and work recursive for message/* -- this are only a few things. Short: Essential parts of a mail client must be integrated and lots of settings (like for PGP) must be done. Moreover, not all mail clients support outputting the raw message for printing.
But Mutt has itself a comfortable function to print attachments. You can choose a separate printing command for each MIME type. This could be set in ~/.mailcap. Read further information in the Mutt manual, section 18.104.22.168.
I've written a very small script named imageprint for printing images (almost every format is supported). You could use it as template for own scripts. Here it is:
#!/bin/sh target=/tmp/imageprint-$$.ps convert -page A4 $1 $target lpr $target rm $target
Just press the p-key in the attachment menu of Mutt.
Users of other mail clients should read the documentation for information about how to print attachments.
to all who helped me with their bug reports to improve and enhance Muttprint. Especially I want to thank Roman Beigelbeck for providing additional pictures, Roberto Vallone for the Italian transation, Vincent Bernat for the French translation, Marcelo Ramos for the Spanish tranlation, Dominik Formánek for the Czech translation and the Debian maintainers Dr. Guenter Bechly and Chanop Silpa-Anan.
Finally I would like to thank all people who contributed to free software. Most people did this in their spare time without receiving a penny for this!