User`s manual

Confidential
RS-T80 Programming Manual
149
Appendix C: Control Sequences & Code Page Fonts
The control sequences of the printer controller are POS compatible.
Code
Hex
Dec Function
HT
09 09 Horizontal tab
LF
0A 10 Print and line feed
FF
0C 12 Print and return to standard mode (in page mode)
CR
0D 13 Print and carriage return
CAN
18 24 Cancel print data in page mode
DLE EOT
10 04 16 04 Real-time status transmission
DLE ENQ
10 05 16 05 Real-time request to printer
DLE DC4
10 14 16 20 Generate pulse at real-time
ESC FF
1B 0C 27 12 Print data in page mode
ESC SP
1B 20 27 32 Set right-side character spacing
ESC
1B 21 27 33 Select print mode(s)
ESC #
1B 23 27 35 Specify a number for the bit-image to be downloaded
ESC $
1B 24 27 36 Set absolute print position
ESC %
1B 25 27 37 Select/cancel user-defined character set
ESC &
1B 26 27 38 Define user-defined characters
ESC *
1B 2A 27 42 Select bit-image mode
ESC –n
1B 2D 27 45 Turn underline mode on/off
ESC 2
1B 32 27 50 Select default line spacing
ESC 3
1B 33 27 51 Set line spacing
ESC =
1B 3D 27 61 n Select peripheral device
ESC
1B 3F 27 63 n Cancel user-defined characters
ESC @
1B 40 27 64 Initialize printer
ESC D
1B 44 27 68 Set horizontal tab positions
ESC E
1B 45 27 69 Turn emphasized mode on/off
ESC G
1B 47 27 71 Turn double-strike mode on/off
ESC J
1B 4A 27 74 n Print and feed paper
ESC L
1B 4C 27 76 Select page mode
ESC M
1B 4D 27 77 Select character font
ESC R
1B 52 27 82 Select an international character set
ESC S
1B 53 27 83 Select standard mode
ESC T
1B 54 27 84 Select print direction in page mode
ESC V
1B 56 27 86 Turn 90° clockwise rotation mode on/off
ESC W
1B 57 27 87 Set printing area in page mode
ESC \
1B 5C 27 92 Set relative print position
ESC a
1B 61 27 97 Select justification
ESC c 0
1B 63 30 27 99 48 Selects the paper type
ESC c 3
1B 63 33 27 99 51 Select paper sensor(s) to output paper-end signals
ESC c 4
1B 63 34 27 99 52 Select paper sensor(s) to stop printing
ESC c 5
1B 63 35 27 99 53 Enable/disable panel buttons
ESC d
1B 64 27 100 Print and feed n lines
ESC p
1B 70 27 112 General pulse