PRINTFILE

Prints a text file.

Syntax:

PRINTFILE filename
 

Discussion:

The filename must be a valid file name. The file must be a text file (as would be created by OUTPUT and PRINT commands in ZPL) and must be in the current folder. PRINTFILE also closes the file if no CLOSE command has been executed.

Example:

OUTPUT "test.txt"
PRINT "Print this to the printer."
PRINTFILE "test.txt"

Related Keywords:

OPEN, OUTPUT, CLOSE, PRINT, PRINTFILE

Next: