Content-type: text/html; charset=UTF-8 Man page of Fx:Print

Fx:Print

Section: Herrin Software Development, Inc. (1)
Updated: 21 Oct 2000
Index Return to Main Contents
 

NAME

Fx:Print - Routines for basic ASCII printing support.  

SYNOPSIS

Fx:Print <list of lines>
Fx:PrintFile <file name>
Fx_PrintDialog <instance name> ?-toplevel <toplevel>? ?-title <title>?

 

DESCRIPTION

Fx:Print accepts a Tcl list of lines to be printed, prompts the user for the name of the printer (or file), then outputs each element of the list with an appended newline. Fx:PrintFile accepts a file name and prints the file.

Fx_PrintDialog displays a dialog for the user to select
the method of printing. The typical command sequence for using Fx_PrintDialog with Fx:Print or Fx:PrintFile is:

    global fx_config

    Fx_PrintDialog dialog -toplevel "" -title "Neat printing"
    # Fx_PrintDialog doesn't return until user is finished
    if {$fx_config(cancel_print) == 0} {
        catch "Fx:PrintFile $fn"
    }

 

DIAGNOSTIC

You must specify a list of formatted lines that are ready to output. Fx:Print does not try to determine whether lines are too wide.

 

SEE ALSO

Fx_Frame(n), Fx_Menubar(n), Fx_Entry(n), Fx_QddbSearchParser(n), Fx(n)  

REFERENCES

A Guide to QDDB
Eric H. Herrin II and Raphael A. Finkel

Qddb User's Guide

An ASCII Database for Fast Queries of Relatively Stable Data
Eric H. Herrin II and Raphael A. Finkel
Computing Systems, Volume 4 Number 2
University of California Press, Berkeley CA

Schema and Tuple Trees: An Intuitive Structure for 
Representing Relational Data
Eric H. Herrin, II and Raphael A. Finkel
Computing Systems, Volume 9, Number 2
MIT Press, Cambridge MA

TCL and the TK Toolkit 
John K. Ousterhout
Addison-Wesley, 1994
ISBN 0-201-63337-X
 

DIAGNOSTICS

 

BUGS

None known.


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTIC
SEE ALSO
REFERENCES
DIAGNOSTICS
BUGS

This document was created by man2html, using the manual pages.
Time: 18:55:30 GMT, October 31, 2018