Specifications
4 KPM54 EMULATION
The following table lists all the commands for function management in KPM54 Emulation of the printer. The
commands can be transmitted to the printer at any moment, but they will only be carried out when the com-
mands ahead of them have been executed. The commands are carried out when the circular buffer is free to
do so.
COMMAND DESCRIPTION TABLE
Tab.3
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 $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
CHARACTER COMMANDS
$1B $20 ESC SP Set right-side character spacing
$1B $21 ESC ! Set print mode
$1B $25 ESC % Select/cancel user-defi ned character set
$1B $26 ESC & Defi ne user-defi ned characters
$1B $2D ESC -
Turn underline mode on/off
$1B $34 ESC 4 Set/reset script mode
$1B $3F ESC ? Cancel user-defi ned characters
$1B $45 ESC E Select emphasized mode
$1B $47 ESC G Select double-strike mode
$1B $52 ESC R Select international character set
$1B $56 ESC V Select print mode rotated 90° clockwise
$1B $74 ESC t Select character code table
$1B $7B ESC { Set/cancel upside-down character printing
$1D $21 GS ! Select character size
$1D $42 GS B Turn white/black reverse printing mode on/off
$1D $7E GS { } Set superscript/subscript
PRINT POSITION COMMANDS
$08 BS Back space
$09 HT Horizontal tab
$18 CAN Cancel print data buffer
$1B $24 ESC $ Set absolute print position
$1B $28 $76 ESC ( v Set relative vertical 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
KPM54 Emulation
Command Reference 61