Star Micronics TSP552 user manual Commands to Control Peripheral Devices, Other Commands

Models: TSP552

1 110
Download 110 pages 4.45 Kb
Page 20
Image 20

Commands to Control Peripheral Devices

 

 

Control codes

Hexadecimal

Function

ENGLISH

 

codes

 

 

 

 

 

<FS>

 

1C

Control peripheral device #1 immediately

 

 

<ESC> <BEL> n1 n2

1B 07 n1 n2

Define drive pulse width for peripheral device #1

 

 

<BEL>

 

07

Control peripheral device #1

 

 

 

 

 

 

 

 

<EM>

 

19

Control peripheral device #2 immediately

 

 

 

 

 

 

 

 

 

 

<SUB>

 

1A

Control peripheral device #2 immediately

 

 

 

 

 

 

Commands to Control Auto Cutter

 

 

 

 

 

 

 

 

 

Control codes

Hexadecimal

Function

 

 

codes

 

 

 

 

 

 

 

<ESC> “d”

n

1B 64 n

Partial-cut command to the auto cutter

 

 

 

 

 

 

Other Commands

 

 

 

 

 

 

 

 

 

 

Control codes

Hexadecimal

Function

 

 

codes

 

 

 

 

 

 

 

<CAN>

 

18

Cancel last line & Initialize printer immediately

 

 

 

 

 

 

 

 

<DC3>

 

13

Deselect printer

 

 

 

 

 

 

 

 

<DC1>

 

11

Set select mode

 

 

<RS>

 

1E

Beep the buzzer

 

 

 

 

 

 

 

 

<ESC> “@”

 

1B 40

Initialize printer

 

 

 

 

 

 

 

 

<ENQ>

 

05

Enquiry(Status inquiry)

 

 

 

 

 

 

 

 

<EOT>

 

04

Near end status inquiry

 

 

 

 

 

 

 

<ESC> “?” <LF> <NUL>

1B 3F 0A 00

Reset printer hardware (Perform test print)

 

 

 

 

 

 

 

 

<ESC> “8”

n1 n2

1B 38 n1 n2

Resisters a logo pattern

 

 

 

 

 

 

 

 

<ESC> “9”

n1 n2

1B 39 n1 n2

Prints a logo pattern

 

 

 

 

 

 

– 16 –

Page 20
Image 20
Star Micronics TSP552 user manual Commands to Control Peripheral Devices, Other Commands