Escape sequences, Fs sequences – Printronix P7000 H-Series User Manual
Page 29
Escape Sequences
29
Escape Sequences
Some KS control codes consisting of more than one character are called
escape sequences because the first character in the sequence is the ASCII
ESCape character. ESC alerts the printer that a special function command—
not printable characters—follows.
The format for an escape sequence is:
ESC (parameter 1)(parameter 2)...(parameter
n)
For example, to select emphasized (offset) print, send the ESC character
immediately followed by the E character (do not add a space character):
ASCII: ESC E
Hex: 1B 45Dec: 27 69
FS Sequences
Another type of control code which consists of more than one character is
called an “FS sequence,” because the first character is the ASCII FS
character. This control code is used when the printer is printing Double Byte
Character Set (DBCS) characters. The FS alerts the printer that a special
function command (not printable characters) follows. Most FS commands
work only on DBCS characters.
The format for an FS sequence is:
FS (parameter 1)(parameter 2)...(parameter
n)
For example, to rotate DBCS characters by 90
×
counter-clockwise, send an
FS character immediately followed by the J character:
ASCII: FS J
Hex: 1C 4ADec: 28 74
Auto LF
Enable
Define LF Code
LF = CR + LF
Printer Select
Disable
20 CPI Condensed
Enable
Alt Set 80-9F
Control Code
Table 4. Factory Settings
Characteristic
Default Setting