LPT & LPH Printing Redux


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Tom Fulton (64.59.46.175) on October 31, 2003 at 07:06:47:

Jim,

Thanks again for getting the TMP filename into the
# buffer! I have one more request based on the following scenario:
An end-user will print an order report in the evening,
sorting by sales rep. When the report is finished, they will break out the pages and fax each report to
the sales reps. We've discussed retrieving the temp
file name so that I can now take the report and build
it into an Email to the rep. If we take this one step
further, it would be great to set up an INI file switch of the form ...:NOLAUNCH or ...,NOLAUNCH,;
My thinking is this - When the report begins and an
output device is selected the operator would then be
able to select a device that will send an email for
each rep on the report. If this printer is selected
we then Open the HTML printer and print the report
through the end of the first sales rep. At that point
we close the printer and INPUT (#) FLNM$ to get the
temp file. We read the temp file and write into our
outgoing Email file, which was preloaded with the
appropriate parameters including the rep's Email address. With the NOLAUNCH switch, COSP simply does
a test for this switch and does its launch or not.
If not, the operator ends up with no task bar full of
browsers or Notepads, and all the Emails go out.
Seems like a winning notion all around - can't take
credit for it though, Steve Hagen came up with that
one after I explained to him the advantages of getting
back the work file name from TMP.


Follow Ups: