Control Codes Used for Peripheral Units

Control codes

Hexadecimal

Function

Page

codes

 

 

 

<ESC> <BEL> n1 n2

1B 07 n1 n2

Adjust drive pulse width for peripheral unit 1

49

 

 

 

 

<BEL>

07

Deferred drive command for peripheral unit 1

49

<FS>

1C

Immediate drive command for peripheral unit 1

49

<SUB>

1A

Immediate drive command for peripheral unit 2

50

 

 

 

 

<EM>

19

Immediate drive command for peripheral unit 1

50

 

 

 

 

Other Control Codes

Control codes

 

Hexadecimal

 

Function

Page

 

codes

 

 

 

 

 

 

<RS>

 

1E

 

Sound buzzer

50

 

 

 

 

 

 

<CAN>

 

18

 

Cancel print data in buffer & Initialize printer

50

<DC3>

 

13

 

Set deselect mode

51

<DC1>

 

11

 

Set select mode

51

 

 

 

 

 

 

<ESC> “U” “1”

1B 55 31

 

Select uni-directional print mode

52

<ESC> “U” <1>

 

1B 55 01

 

 

 

 

 

<ESC> “U” “0”

1B 55 30

 

Select bi-directional print mode

52

<ESC> “U” <0>

 

1B 55 00

 

 

 

 

 

<ESC> “@”

 

1B 40

 

Initialize printer

52

<ENQ>

05

 

Enquiry

53

 

 

 

 

 

 

<STX>

02

 

Enter STX-ETX mode

53

<ETX>

03

 

Terminate STX-ETX mode

53

<ESC> “d” “0”

1B 64 30

 

 

 

<ESC> “d” <0>

 

1B 64 00

 

Trigger auto-cutter drive

54

<ESC> “d” “1”

1B 64 31

 

(Auto-cutting models only)

 

 

<ESC> “d” <1>

 

1B 64 01

 

 

 

 

 

 

 

 

 

<GS>...<LF>

 

1D...0A

 

Selection of validation characters

54

 

 

 

 

(Models with validation function only)

 

 

 

 

 

– 31 –

Page 35
Image 35
Star Micronics SP300 Series manual Control Codes Used for Peripheral Units, Other Control Codes