Tally Genicom 6600 Printer User Manual


 
Turning Free Format On
19
Free Format
The GPL provides a mode which ignores all data with values less than 20
(decimal 32). Data having values below decimal 32 are collectively called
Control Characters and include Line Feed, Form Feed, and Escape
characters. By using Free Format Mode, the user can filter out unwanted
Control Characters which may be sent by some host systems. Also, a
convenient way to send GPL commands to the printer is to simply type the
commands into a file and send the file to the printer. In Format Mode, a
command may be spread over several lines in the file, with the printer ignoring
the CR and LF characters at the end of each line.
NOTE: The Free Format ON/OFF commands may not be used within the
data field of a Report or a Buffered Form.
Turning Free Format On
Free Format is turned on by sending the command ^F. After the printer
receives the ^F, subsequent control characters are ignored and the printer will
no longer recognize CR, LF, or FF as Pass terminators. However, the GPL
language will recognize the following control code equivalents as Pass
terminators:
1. ^- (caret hyphen) - equivalent to the Carriage Return Command (CR)
2. ^* (caret asterisk) - equivalent to the Line Feed Command (LF)
3. ^, (caret comma) - equivalent to the Form Feed Command (FF)
Turning Free Format OFF
Free Format is turned off by sending the command ^O^-.