![Custom Audio Electronics KM216H Command Reference Manual Download Page 5](http://html1.mh-extra.com/html/custom-audio-electronics/km216h/km216h_command-reference-manual_2700586005.webp)
2 ESC/POS
TM
EMULATION
The following table lists all the commands for function management in ESC/POS Emulation of the printer. The
commands can be transmitted to the printer at any moment, but they will only be carried out when the commands
ahead of them have been executed. The commands are carried out when the circular buffer is free to do so.
COMMAND DESCRIPTION TABLE
Tab.1
Com. HEX
Com. ASCII
Description
PRINT COMMANDS
$0A
LF
Print and line feed
$0C
Ff
Form feed
$0D
CR
Print and carriage return
$1B $4A
ESC J
Print and feed paper
$1B $64
ESC d
Print and feed paper n lines
LINE SPACING COMMANDS
$1B $30
ESC 0
Select 1/8-inch (200 dpi) or 1/12-inch (300 Dpi) line spacing
$1B $32
ESC 2
Select 1/6-inch (200 dpi) or 1/9-inch (300 dpi) line spacing
$1B $33
ESC 3
Set line spacing
CHARACTER COMMANDS
$18
CAN
Cancel current line trasmitted
$1B $20
ESC SP
Set right-side character spacing
$1B $21
ESC !
Set print mode
$1B $25
ESC %
Select/cancel user-de
fi
ned character set
$1B $26
ESC &
De
fi
nes user-de
fi
ned characters
$1B $2D
ESC -
Turn underline mode on/off
$1B $34
ESC 4
Set/reset italic mode
$1B $45
ESC E
Select emphasized mode
$1B $56
ESC V
Select print mode 90° turned
$1B $C1
ESC { }
Set/cancel cpi mode
$1D $21
GS !
Select character size
$1D $42
GS B
Turn white/black reverse printing mode on/off
PRINT POSITION COMMANDS
$08
BS
Back space
$09
HT
Horizontal tab
$1B $24
ESC $
Set absolute print position
$1B $28 $76
ESC ( v
Set relative vertical print position
$1B $5C
ESC \
Set relative print position
$1B $61
ESC a
Select justi
fi
cation
$1D $4C
GS L
Set left margin
$1D $57
GS W
Set printing area width
BIT-IMAGE COMMANDS
$1B $2A
ESC *
Select image print mode
ESC/POS™ Emulation
Command Reference
5
Summary of Contents for KM216H
Page 44: ...ESC POS Emulation 44 Command Reference...
Page 46: ...Commands Index 46 Command Reference...
Page 47: ......