Short:    YAM ARexx script prints header & page
Author:   JCC@iName.com (John Clenance)
Uploader: JCC@iName.com (John Clenance)
Version:  1.1
Type:     comm/mail
Requires: YAM 2.0, ARexx


Listing of archive 'PrintMail.lha':
Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    2811    1851 34.1% 19-Jul-01 22:57:30  YAMPrintMail.info
    1707     925 45.8% 17-Jul-01 22:20:16 +PrintMail.ReadMe
    6575    3728 43.3% 17-Jul-01 22:20:16 +PrintMail.ReadMe.info
   11164    2770 75.1% 19-Jul-01 22:00:08 +PrintMail.yam
    6572    3144 52.1% 19-Jul-01 22:00:08 +PrintMail.yam.info
-------- ------- ----- --------- --------
   28829   12418 56.9% 19-Jul-101 22:59:12   5 files

Operation successful.


Purpose:
~~~~~~~~
The YAM print function leaves much to be desired.  It doesn't print page
breaks, page numbers, headers nor footers, and it also 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
- 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 YAM.
     PrintMail can do that as well by changing the commented lines in the
     Message READ/WRITE Loop.

  3) HTMLread for YAM (available on Aminet) is activated when PrintMail
     reads a message; either showing or canceling HTML viewing permits
     PrintMail to continue.


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.


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    2811    1851 34.1% 19-Jul-01 22:57:30  YAMPrintMail.info
    1707     925 45.8% 17-Jul-01 22:20:16 +PrintMail.ReadMe
    6575    3728 43.3% 17-Jul-01 22:20:16 +PrintMail.ReadMe.info
   11164    2770 75.1% 19-Jul-01 22:00:08 +PrintMail.yam
    6572    3144 52.1% 19-Jul-01 22:00:08 +PrintMail.yam.info
-------- ------- ----- --------- --------
   28829   12418 56.9% 20-Jul-101 20:07:58   5 files
