Tcl/Tk Windows Print Library Module

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:

- PrintText

# Module Dependencies

No other modules are required with this module.

# Module Definition Files

This module does not require any definition files.

# Module Procedures

## PrintText

    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.

Goto Top | Tcl Applications | Tcl Software Overview | Tcl Library Overview
| Future Lab Home | Contact Webmaster | Feedback

Copyright © 2006 Future Lab, Last Updated Jul 01, 2006