![OmniPrint OM190 User Manual Download Page 15](http://html1.mh-extra.com/html/omniprint/om190/om190_user-manual_739729015.webp)
15
12. COMMAND CODES
FUNCTION
KEYSTROKE
HEX
DECIMAL
HORIZONTAL TAB
CTRL I
09H
9
LINE FEED
CTRL J
0AH
10
CARRIAGE RETURN
CTRL M
0DH
13
SET PRINT MODE
ESC ! n
1BH, 21H, n
27, 33, n
INITIALIZE PRINT
ESC @
1BH, 40H
27, 64
CHARACTER SET
ESC R n
1BH, 52H, n
27, 82, n
PRINT & FEED
ESC d n
1BH, 64H, n
27, 100, n
INVERTED PRINTING
ESC { n
1BH, 7BH, n
27, 123, n
STATUS REQUEST
DLE EOT n
10H, 04H, n
16, 4, n
12.1 COMMAND DESCRIPTIONS
TAB(09H): Moves the print position to the next horizontal tab position. The default tab positions are at
every 8 character intervals. This command will be ignored unless the nest horizontal tab position is set.
LINE FEED (0AH): Prints the data in the print buffer and feeds one line based on the current line
spacing. IF LF+CR IS SENT, CR WILL BE IGNORED TO AVOID DOUBLE FEEDING.
CR (0DH): This command prints the data in the print buffer and feeds one line. If a LF is sent immediately
after CR, it will be ignored to avoid double printing.
ESC ! n (1BH, 21H, n): Sets the print mode according to the following table. n is a single byte in which
each bit sets the printing function. Note that underline cannot be used with a horizontal tab and any
combination of double height and width can be used. Default is n=0.
Bit
Off/On
Hex
Decim
al
Function
0,1,
2
---
---
---
Undefined
3
Off
00
0
Emphasized
mode
off
4
Off
00
0
Double-height off
On
10
16
Double-height on
5
Off
00
0
Double-width off
On
20
32
Double-width on
6
---
---
---
Undefined
7
Off
00
0
Underline mode off
On
80
128
Underline mode on
ESC @ (1BH, 40H): Initialize the printer. Clears the print buffer and resets the printer to default values.