ANSI Mode Host Commands
5-16
ANSI Mode Host Command Summary
The following table is a summary of the available ANSI mode host commands.
Table 5-4: ANSI Mode Host Command Summary
Type
Command
Syntax
Cursor
Cursor Up
Esc [
Pn
A
Cursor Down
Esc [
Pn
B
Cursor Right
Esc [
Pn
C
Cursor Left
Esc [
Pn
D
Cursor Position
Esc [
Pr
;
Pc
f
or
Esc [
Pr
;
Pc
H
Cursor Home
Esc [f
or
Esc [H
Cursor Home & Clear Display
Esc [1s
Save Cursor Position
Esc [s
Restore Cursor Position
Esc [u
Enable Cursor
Esc [4t
Disable Cursor
Esc [5t
Enable Cursor Blink
Esc [6t
Disable Cursor Blink
Esc [7t
Erasure
Erase Cursor to End of Line
Esc [K
Erase Start of Line to Cursor
Esc [1K
Erase Entire Line
Esc [2K
Erase Cursor to End of Display
Esc [J
Erase Start of Display to Cursor
Esc [1J
Erase Entire Display
Esc [2J
Character Attributes
Set Blink Attribute
Esc [2s
Clear Blink Attribute
Esc [3s
Sound
Short Bell
Esc [0q
Long Bell
Esc [1q
Alert
Esc [2q
Key Click
Esc [3q
Display Attributes
Enable Backlight
1
Esc [8t
Disable Backlight
1
Esc [9t
Reports
Perform Self-Test & Return Results
Esc [4n
Return Last Self-Test Results
Esc [5n
Return Cursor Position
Esc [6n
Send Device Attributes
Esc [c
Send Identifier String
Esc [p