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
$1C $82
FS { }
Print date
$1C $83
FS { }
Print time
LINE SPACING COMMANDS
$1B $30
ESC 0
Select 1/8-inch line spacing
$1B $32
ESC 2
Select 1/6-inch line spacing
$1B $33
ESC 3
Set line spacing using minimum units
CHARACTER COMMANDS
$18
CAN
Cancel current line trasmitted
$1B $20
ESC SP
Set character right-side spacing
$1B $21
ESC !
Set print mode
$1B $25
ESC %
Select/cancel user-de
fi
ned character set
$1B $26
ESC &
De
fi
ne user-de
fi
ned characters
$1B $2D
ESC -
Turn underline mode on/off
$1B $3F
ESC ?
Cancel user-de
fi
ned characters
$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/cancal 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 position
$1B $28 $76
ESC ( v
Set relative vertical print position
ESC/POS™ Emulation
Command Reference
5
Содержание KPM300
Страница 72: ...Blank page ESC POS Emulation 72 Command Reference ...
Страница 127: ......