beautypg.com

Control codes used for peripheral units, Other control codes – Star Micronics SP300 Series User Manual

Page 35

background image

– 31 –

Control Codes Used for Peripheral Units

Control codes

Hexadecimal

Function

Page

codes

n1 n2

1B 07 n1 n2

Adjust drive pulse width for peripheral unit 1 49

07

Deferred drive command for peripheral unit 1

49

1C

Immediate drive command for peripheral unit 1

49

1A

Immediate drive command for peripheral unit 2

50

19

Immediate drive command for peripheral unit 1

50

Other Control Codes

Control codes

Hexadecimal

Function

Page

codes

1E

Sound buzzer

50

18

Cancel print data in buffer & Initialize printer

50

13

Set deselect mode

51

11

Set select mode

51

“U” “1”

1B 55 31

Select uni-directional print mode

52

“U” <1>

1B 55 01

“U” “0”

1B 55 30

Select bi-directional print mode

52

“U” <0>

1B 55 00

“@”

1B 40

Initialize printer

52

05

Enquiry

53

02

Enter STX-ETX mode

53

03

Terminate STX-ETX mode

53

“d” “0”

1B 64 30

“d” <0>

1B 64 00

Trigger auto-cutter drive

54

“d” “1”

1B 64 31

(Auto-cutting models only)

“d” <1>

1B 64 01

...

1D...0A

Selection of validation characters

54

(Models with validation function only)