Control Codes List; Esc/P-K Mode - Star Micronics LC-500 User Manual

Table of Contents

Advertisement

< ESC/P mode>
Command
BEL
BS
HT
LF
VT
FF
CR
SO
SI
DC2
DC4
CAN
DEL
ESC SO
ESC SI
ESC SP n
ESC ! n
n =
00
01
02
04
08
10
20
40
80
ESC #
ESC $ n
n
L
H
ESC % n
n =
00
01
ESC & 0 n m [ a
a
0
1
ESC ( - n
n
m d
d
L
H
1
ESC ( B n
n
k m s v
L
H
ESC * m n
n
d
...d
L
H
1
ESC + n
ESC - n
n =
00
01
ESC / n
ESC 0
ESC 2
ESC 3 n
ESC 4
ESC 5
ESC 6
ESC 7
ESC 8
ESC 9

5. Control Codes List

HEX code
07
08
09
0A
0B
0C
0D
0E
0F
12
14
18
7F
1B 0E
1B 0F
1B 20 n
1B 21 n
n =
00
01
02
04
08
10
20
40
80
1B 23
1B 24 n
n
L
H
1B 25 n
n =
00
01
a
d ...
1B 26 30 n m [ a
2
1B 28 2D n
2
L
v
1B 28 42 n
1
2
L
1B 2A m n
k
L
1B 2B n
1B 2D n
n =
00
01
1B 2F n
1B 30
1B 32
1B 33 n
1B 34
1B 35
1B 36
1B 37
1B 38
1B 39
Function
Beeper
Backspace
Tab horizontally
Line feed
Tab vertically
Form feed
Carriage return
Select Double-width printing (1 line)
Select Condensed printing
Cancel Condensed printing
Cancel Double-width printing (1 line)
Cancel line
Delete last character in buffer
Select Double-width printing (1 line)
Select Condensed printing
Set inter character space
Master select
Cancel MSB control
Set absolute horizontal print position
Turn User-defined character on / off
a
a
d ...
Define User-defined characters
0
1
2
n
m d
d
Select or cancel score
H
1
2
n
k m s v
v
Select Bar-code printing
H
1
2
n
d
...d
Select Bit-image mode
H
1
k
Set n/360" line spacing
Turn under lining mode on / off
Select vertical tab channel
Select 1/8" line spacing
Select 1/6" line spacing
Select n/180" line spacing
Select italic font
Cancel italic font
Enable printing of upper control codes
(Character set #2)
Enable upper control codes
(Character set #1)
Disable paper out detector
Enable paper out detector
– 42 –
10 CPI
12 CPI
Proportional
Condensed
Emphasized
Double-strike
Double-wide expanded (ESC W)
Italic
Underlining
Turns User-defined character off
Turns User-defined character on
Turns underline off
Turns underline on
(ESC P)
(ESC M)
(ESC p)
(SI)
(ESC E)
(ESC G)
(ESC 4)
(ESC -)

Advertisement

Table of Contents
loading

Table of Contents