You can easily set up a system to allow users with mainframe-based email programs to print their email to local network printers. All you need is a computer with OS/2 WARP Connect or WARP Server installed, and one other software utility. (And a bit of configuration...)
Note: This document assumes both the MPTN and TCPIP directories are installed on drive C:. If on another drive, suitable changes must be made in the paths suggested...
Mlocal, P=C:\TCPIP\UMAIL\umailer.exe , F=lsm, S=10, R=0, A=c:\mptn\etc\mail C:\TCPIP\UMAIL\SERVER\INBOX -to $u Mlocal, P=c:\tcpip\bin\mail.exe, F=lsmDFP, S=10, R=0, A=c:\mptn\etc\mail $uYou need to comment any existing "Mlocal" lines by placing a "#" character in front of the line, and replace it with the following line:
Mlocal, P=c:\tcpip\bin\flexmail.exe, F=lsmDFP, S=10, R=0, A=c:\mptn\etc\mail $uSave and exit at this point.
We want to add an entry to the file to instruct it to execute a process called PRNTMAIL.CMD on any mail message arriving at the local machine for a specific mail ID - let's say "PRINTER1".
Edit the file C:\TCPIP\BIN\USERIDS.LST:
E %ETC%\USERIDS.LST... and add the following line:
printer1 %c:\tcpip\bin\PRNTMAIL.CMD &&F; LPT1:Save and exit at this time.
Once this process is completed, you then need to shutdown and restart your machine. After restart, your SENDMAIL server should be operational, and any mail sent to the email address: <printer1@{your.machine.address}> should be automatically processed and sent to the printer connected to the port LPT1: on your OS/2 machine.
You may add addresses for additional printers as necessary...