make a program alias to a batch file in that batch file put the following
line:

type %1 > lpt1

this assumes the message is plain text <type> could be replaced with print
or whatever, and that you are printing to LPT1.  More complicated
arrangements can be made if you have a win32 program you can change the
default file handler function to print on.  For example set word to be the
default handler for txt files and to print rather than open *.txt files then
do the following in your batch:

copy %1 %1.txt
start %1.txt
sleep 30
del %1.txt

Then the file would be opened by word which would print it to the default
printer (which could be on the network) and you could do the same to export
to an HTML handler as well.  You can use this to do way cool stuff if you
play with it!
-V



----- Original Message -----
From: <[EMAIL PROTECTED]>
To: IMail_Forum (E-Mail) <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 1999 1:09 PM
Subject: [IMail Forum] Printing


Hi all,

i know it�s a stupid questions, but...

Customer asked if a method exists to route mail for a particular user (or
alias) directly to a printer ?
I denied but may be someone has written a script or something else, so i
thougt i�ll give it a try.

Imail 5.04 sits on top of NT4-box (still evaluating...)

Thanks in advance

Ruediger Sobeck
[EMAIL PROTECTED]




Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to