You are here: Commands > Print

Print

Use the Print command in the command line or in a procedure to print the contents of any table directly to the default printer. Print is usually used with log, procedure and text files, but can also print a graph if a graph is currently open in the Graph window.

Printing table data with the Print command is not advisable because the output is unformatted and certain data formats do not print correctly. To print table data, use the List, Report or Define Report command.

Note: To redirect the output to a specific printer, use Windows to specify a default printer. Consult your Microsoft Windows documentation.

Command Mode Syntax

The Print command prints either a graph or a file to the default printer.

PRINT {GRAPH|filename}

For example, to print the file MyReport.txt, enter this command:

PRINT MyReport.txt

You can also specify the file’s location by including the path, as shown here:

PRINT C:\Reports\MyReport.txt

To print a graph, use PRINT GRAPH. The Graph window must be open when the command is executed.