Commands to print dot graphics, Commands to print download characters, Commands to control peripheral devices – Star Micronics RS232 User Manual

Page 27: Commands to control auto cutter

Advertising
background image

– 23 –

STAR MODE

Commands to Print Dot Graphics

Control codes

Hexadecimal

Function

Page

codes

<ESC> “K” n <0>

1B 4B n 00 m1 m2

Print normal density graphics

41

m1 m2 ...

...

<ESC> “L” n1 n2

1B 4C n1 n2 m1 m2

Print high density graphics

43

m1 m2 ...

...

<ESC> “k” n <0> d1 ...

1B 6B n 00 d1 ...

Print fine density graphics

44

<ESC> “X” n1 n2 m1 ... 1B 58 n1 n2 d1 ...

Print fine density graphics

47

Commands to Print Download Characters

Control codes

Hexadecimal

Function

Page

codes

<ESC> “&” <1> <1>

1B 26 01 01 n

Define download character

48

n m1 m2 ... m48

m1 m2 ... m48

<ESC> “&” “1” “1”

1B 26 31 31 n

n m1 m2 ... m48

m1 m2 ... m48

<ESC> “&” <1> <0> n

1B 26 01 00 n

Delete a download character

49

<ESC> “&” “1” “0” n

1B 26 31 30 n

<ESC> “%” “1”

1B 25 31

Enable download character set

49

<ESC> “%” <1>

1B 25 01

<ESC> “%” “0”

1B 25 30

Disable download character set

50

<ESC> “%” <0>

1B 25 00

Commands to Control Peripheral Devices

Control codes

Hexadecimal

Function

Page

codes

<ESC> <BEL> n1 n2

1B 07 n1 n2

Define drive pulse width for peripheral

51

device #1

<BEL>

07

Control peripheral device #1

51

<FS>

1C

Control peripheral device #1 immediately

51

<EM>

19

Control peripheral device #2 immediately

51

<SUB>

1A

Control peripheral device #2 immediately

51

Commands to Control Auto Cutter

Control codes

Hexadecimal

Function

Page

codes

<ESC> “d” “0”

1B 64 30

<ESC> “d” <0>

1B 64 00

Full-cut command to the auto cutter

52

<ESC> “d” “1”

1B 64 31

Partial-cut command to the auto cutter

52

<ESC> “d” <1>

1B 64 01

Advertising