Specifications
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
$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 $32 ESC 2 Select 1/6-inch line spacing
$1B $33 ESC 3 Set line spacing using minimum units
CHARACTER COMMANDS
$1B $20 ESC SP Set right-side character spacing
$1B $21 ESC ! Set print mode
$1B $2D ESC - Turn underline mode on/off
$1B $34 ESC 4 Set/reset script mode
$1B $45 ESC E Select emphasized mode
$1B $47 ESC G Select double-strike mode
$1B $4D ESC M Select character font
$1B $52 ESC R Select international character set
$1B $56 ESC V Select print mode 90° turned
$1B $74 ESC t Select character code table
$1B $7B ESC { Set/cancel upside-down character printing
$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 $44 ESC D Set horizontal tab position
$1B $5C ESC \ Set relative print position
$1B $61 ESC a Select justifi 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
$1D $2A GS * Logo extra storage
STATUS COMMANDS
$10 $04 DLE EOT Real-time status transmission
$1B $76 ESC v Transmit printer status
ESC/POS™ Emulation
Command Reference 5