beautypg.com

3-12 external device drive, Esc bel n1 n2 – Star Micronics Dot Impact Printer User Manual

Page 57

background image

3-49

STAR Command Specifications

Rev. 0.70

3-3-12 External Device Drive

ESC BEL n1 n2

[Name]

Set external drive device 1 pulse width

[Code]

ASCII

ESC BEL n1 n2

Hexadecimal

1B

07 n1 n2

Decimal

27

7 n1 n2

[Defined Area]

1 ≤ n1 ≤ 127

1 ≤ n2 ≤ 127

[Initial Value]

n1 = 20 (Energizing time: 200 msec)

n2 = 20 (Delay time: 200 msec)

[Function]

Sets the energizing and delay times for drive of the external device (such as cash drawers).

• Energizing time = 10 x n1 (ms)

• Delay time = 10 x n2 (ms)

After printing, this is executed by BEL (External device 1 drive instruction) or FS (External device 1 drive

instruction (real time)).

Handled in the following way when n1 and n2 are out of range.

• When n1 = 0, or n2 = 0, this command is ingored.

• When n1 > 128, n = 128, when n2 > 128, n = 128.

10 x n2 (msec)

10 x n1 (msec)

Prohibit Printing, Paper Feed

(Energize Time)

(Delay Time)

OFF

ON

Drive Pulse

Print Operation