The Tcl/Tk Windows print library module has the file name winprint.tcl. This module contains a procedure that will print a text file under Windows to the default Windows printer.
Here is a list of procedures in the this module:
No other modules are required with this module.
This module does not require any definition files.
Declaration : proc PrintText {fname} Parameters : Name : fname Type : string Description : file name
This procedure will print a file under Windows only. The file is printed to the default Windows printer.
The procedure works by retrieving the application name associated with printing text files which is located in the Windows registry. This application normally is Notepad.