Star Micronics LC-500 user manual Control Codes List, ESC/P mode

Models: LC-500

1 72
Download 72 pages 16.26 Kb
Page 46
Image 46
5. Control Codes List

5. Control Codes List

< ESC/P mode>

Command

 

HEX code

Function

 

 

 

 

 

 

 

 

BEL

 

07

 

 

Beeper

 

BS

 

08

 

 

Backspace

 

HT

 

09

 

 

Tab horizontally

 

LF

 

0A

 

 

Line feed

 

VT

 

0B

 

 

Tab vertically

 

FF

 

0C

 

 

Form feed

 

CR

 

0D

 

 

Carriage return

 

SO

 

0E

 

 

Select Double-width printing (1 line)

SI

 

0F

 

 

Select Condensed printing

 

DC2

 

12

 

 

Cancel Condensed printing

 

DC4

 

14

 

 

Cancel Double-width printing (1 line)

CAN

 

18

 

 

Cancel line

 

DEL

 

7F

 

 

Delete last character in buffer

 

ESC SO

 

1B

0E

 

Select Double-width printing (1 line)

ESC SI

 

1B

0F

 

Select Condensed printing

 

ESC SP n

 

1B

20 n

Set inter character space

 

ESC ! n

 

1B

21 n

Master select

 

n =

00

n =

00

10 CPI

(ESC P)

 

01

 

 

01

12 CPI

(ESC M)

 

02

 

 

02

Proportional

(ESC p)

 

04

 

 

04

Condensed

(SI)

 

08

 

 

08

Emphasized

(ESC E)

 

10

 

 

10

Double-strike

(ESC G)

 

20

 

 

20

Double-wide expanded

(ESC W)

 

40

 

 

40

Italic

(ESC 4)

 

80

 

 

80

Underlining

(ESC -)

ESC #

 

1B

23

 

Cancel MSB control

 

ESC $ nL nH

1B

24 nL nH

Set absolute horizontal print position

ESC % n

 

1B

25 n

Turn User-defined character on / off

n =

00

n =

00

Turns User-defined character off

 

01

 

 

01

Turns User-defined character on

ESC & 0 n m [ a0 a1 a2 d ...

1B

26

30 n m [ a0 a1 a2 d ...

Define User-defined characters

ESC ( - nL nH m d1 d2

1B

28

2D nL nH m d1 d2

Select or cancel score

 

ESC ( B nL nH k m s v1 v2

1B

28

42 nL nH k m s v1 v2

Select Bar-code printing

 

ESC * m nL nH d1...dk

1B

2A m nL nH d1...dk

Select Bit-image mode

 

ESC + n

 

1B

2B n

Set n/360" line spacing

 

ESC - n

 

1B

2D n

Turn under lining mode on / off

n =

00

n =

00

Turns underline off

 

 

01

 

 

01

Turns underline on

 

ESC / n

 

1B

2F n

Select vertical tab channel

 

ESC 0

 

1B

30

 

Select 1/8" line spacing

 

ESC 2

 

1B

32

 

Select 1/6" line spacing

 

ESC 3 n

 

1B

33 n

Select n/180" line spacing

 

ESC 4

 

1B

34

 

Select italic font

 

ESC 5

 

1B

35

 

Cancel italic font

 

ESC 6

 

1B

36

 

Enable printing of upper control codes

 

 

 

 

 

(Character set #2)

 

ESC 7

 

1B

37

 

Enable upper control codes

 

 

 

 

 

 

(Character set #1)

 

ESC 8

 

1B

38

 

Disable paper out detector

 

ESC 9

 

1B

39

 

Enable paper out detector

 

– 42 –

Page 46
Image 46
Star Micronics LC-500 user manual Control Codes List, ESC/P mode