At some of our customer sites, I have a host-based script which is invoked by our host application. It sends some control codes to the Procomm Plus (Windows) client that instructs Procomm to receive a file and then send that file to the default printer on the user's PC.
Strangely enough, my script file worked without a flaw for one of our technicians who was using AbsoluteTelnet!
Below are the pertinent (bash) lines from the script file. The "echo" statements send Procomm the commands to (1) receive the file, and (2) "type" the file to the default printer. The "sz" command is the ZModem Send utility.
-----------------------------
echo -e "