I forgot the obligatory plug for pickwiki: http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has escape sequences for a lot of the common emulators...
Ian McGowan -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:25 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer If you can arrange for the terminal emulator to run a command, you can fire off (for example): "cmd /c start http://myserver/files/abc123.pdf" And the end user's PC will launch the default browser and attempt to connect to the web service. You set the mime-type to application/pdf, include some magic javascript in the pdf to open up the print dialog automatically, and Bob's your uncle. Closing the pdf is tricky, we've left it to the user to do that. For word, substitute macros for javascript (though the user will have to be prepared for scary popups). If you have full control of the client's environment, you can install tools like doit (by the author of putty) and bypass the terminal emulator bit. http://www.chiark.greenend.org.uk/~sgtatham/doit/ The other way we do this to send word, excel and pdf docs generated by pick basic code is to simply email it to the user. Sometimes there's no other options - there's a firewall in the way, security won't allow other methods, etc. The users don't seem to care, as long as they get a document in a few seconds. Ian McGowan 925.609.2554 -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 5:01 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Glen, so how is it exactly that an event on the server will trigger this transfer, open, print, and exit? _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users IMPORTANT NOTICE: This message is intended only for the addressee and may contain confidential, privileged information. If you are not the intended recipient, you may not use, copy or disclose any information contained in the message. If you have received this message in error, please notify the sender by reply e-mail and delete the message. _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users