Short: ARexx print YAM e-mail w /header & page Author: JCC@iName.com (John Clenance) Uploader: JCC iName com (John Clenance) Type: comm/mail Version: 1.3 Requires: YAM 2.4p1, ARexx Architecture: m68k-amigaos Listing of archive 'PrintMail1.3.lha': Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 2811 1853 34.0% 21-Jul-03 21:47:46 +YAMPrintMail_1.3.info 2274 1166 48.7% 21-Jul-03 22:16:24 +PrintMail.ReadMe 6575 3727 43.3% 21-Jul-03 21:53:20 +PrintMail.ReadMe.info 12914 3256 74.7% 21-Jul-03 22:16:52 +PrintMail.yam 6572 3604 45.1% 21-Jul-03 21:53:20 +PrintMail.yam.info -------- ------- ----- --------- -------- 31146 13606 56.3% Operation successful. Purpose: ~~~~~~~~ The YAM print mail function leaves much to be desired. It doesn't print page breaks, page numbers, headers nor footers, and it doesn't list attachments. This ARexx script fixes all that by printing selected e-mail messages as plain text with: - Page Breaks - Left, Right, Top & Bottom margins - Headers (optional size limit) - Page Numbers - Word-Wrapping - List of Attachments Installation: ~~~~~~~~~~~~~ 1) Copy PrintMail.yam to YAM:Rexx/ 2) Assign it to the YAM script menu Usage: ~~~~~~ Select one or more mail messages and invoke the script. Notes: ~~~~~~ 1) You can adjust the margins to match your printer (and taste) by changing line/page info variables at the beginning of the program. 2) Message body text wrapping is assumed to be performed by PrintMail. Wrapping can be left to YAM by setting the variable: PMailWrap = 0 3) Limit the number of To and Cc address lines printed by setting variables ToLimit and CcLimit to non-zero values. 4) HTMLread for YAM (available on Aminet) is activated when PrintMail reads a message; either showing or canceling HTML viewing permits PrintMail to continue. History: ~~~~~~~ 1.3 15-June-2003 Posted to Aminet YAM 2.4p1 "breaks" the file name retrieval code ... Fixed Word wrapping by YAM vs Printmail is controlled by PMailWrap 1.2 20-April-2003 Internal Limit number of "To:" lines, see variable ToLimit 1.1 19-July-2001 Posted to Aminet Minor Improvements 1.0 28-June-2001 Internal Original Version To do: (when the spirit moves me ;-) ~~~~~~ 1) Print text attachments (or present a requester). 2) Add a Prefs window. 3) Consider reading page width and length from preferences. Legal Stuff: ~~~~~~~~~~~~ - This software is freely distributable. - Disclaimer: By using this program the user accepts full liability for any damage that could possibly be caused by its usage or misuse. The author of this software cannot be held responsible for any damage.