| Products | Purchase | Support | Download | News | About |
|
|
Support - Script Examples |
|||
|
Printing Project: Many host-based applications support print operations to PC-attached printers via printer emulation or print transparent mode. The Script Language supplements this with the ability to write custom print jobs using data from a host application, several host applications, PC-based files, or some combination of these. For this example, we’ll implement a print test page which demonstrates the print formatting abilities. Algorithm: The PRINT OPEN command is used to initiate a print task, and the PRINT CLOSE command finishes the job and sends it to the printer. The PRINT FONT and PRINT STYLE commands can be used to set the print characteristics, or the printer defaults can be used. The PRINT STRING, PRINT FILE and PRINT TERMINAL commands determine the data to be sent to the printer. Optionally, the PRINT NEWLINE, PRINT NEWPAGE, and PRINT TABS commands can be used to space the print data appropriately. Product used in this example: DynaComm Connectivity Series® 9. (release 9.0.0.0) Relevant Commands and Functions:
PRINT OPEN — Opens a print channel to specified printer port See Also:
PRINT TERMINAL — Sends incoming session activity to printer A Brief Example:
PRINT OPEN
This example uses the PRINT FONT and PRINT STYLE commands to specify the size print characteristics, and the PRINT STRING command to specify the data to be printed. The PRINT STYLE NORMAL command is used to deselect bold printing. The print characteristics specified in the script are applicable only to script-initiated printing and not user-selected printing. Further development:
Additional Examples: The ADDRBOOK example allows the user to enter and organize contact info which is stored in a file, and print it out if desired. |
|||
![]() |
Purchase | Contact | Privacy Policy | Terms of Use | Sitemap | Blog |
© 2010 FutureSoft, Inc. All Rights Reserved
|
||||||
|
DynaComm i:filter |
Internet Filtering |
Employee Internet Monitoring |
Managing Internet Access |
Web Filtering |
Internet Monitoring |
DCS Terminal Emulation | TN 3270 | ProComm Plus Replacement | Windows Terminal Emulation | TN 5250 | DynaComm Connectivity Series | MultiView |
||||||