CODE

FUNCTION

OUTLINE

CODE

FUNCTION

OUTLINE

CODE

FUNCTION

OUTLINE

ESC @ (1B)H (40)H

Printer initialization

All printing conditions except ESC BEL n1 n2, the line buffer and data buffer are set to the power on default condition.

ESC BEL n1 n2 (1B)H (07)H n1 n2

Sets peripheral unit drive pulse duration.

This command sets the pulse duration for peripheral unit drive (Paper Cutter, Take-Up Device, cash drawer, etc.) Pulse Duration = 10 × n1 (ms)

Delay = 10 × n2 (ms)

1 n1 127; 1 n2 127 Default value: n1 = n2 = 20

Executed by BEL code and FS code after printing.

BEL (07)H

Trigger peripheral unit drive (Deferred)

Causes a peripheral drive pulse to be generated. This code is normally stored in the buffer and is performed as it is received from the data queue.

– 16 –

Page 20
Image 20
Star Micronics DP8340R user manual ESC @ 1BH 40H Printer initialization