Example: Pass Through Printing to File
In cases where the remote legacy app running on your connected host provides for retrieving desired ASCII data only via pass through printing codes, this script example demonstrates one way of saving this data to a file instead of having to print to a physical printer.
Once the script is running, it will continue to run until the script is manually canceled (Script > Cancel) or until the connection to the remote host/device is terminated.
While running, the script will automatically intercept auto-print and pass-through printing sequences (currently VTxx and xterm emulations only) and write the received ASCII data to a file instead of sending the data to a printer.
Note: To facilitate this script's operational technique, pass through printing must be disabled in Session Options. The script will detect if this is not the case, and offer to change it for you.
Download the script code here.
YouTube Channel: https://www.youtube.com/vandykesoftware
Last edited by jdev; 06-29-2020 at 04:42 PM.
|auto print , example script , pass through printing , print to file , printing , python , securecrt|
|Display Modes||Rate This Thread|