beautypg.com

Esc gs em dc1 m n1 n2 – Star Micronics Dot Impact Printer User Manual

Page 60

background image

3-52

STAR Command Specifications

Rev. 0.70

ESC GS EM DC1 m n1 n2

[Name]

Set external buzzer drive pulse condition

[Code]

ASCII

ESC

GS

EM

DC1

m n1 n2

Hexadecimal

1B

1D

19

11

m n1 n2

Decimal

27

29

25

17

m n1 n2

[Defined Area]

1 ≤ m ≤ 2

49 ≤ m ≤ 50

0 ≤ n1 ≤ 255

0 ≤ n2 ≤ 255

[Initial Value]

n1 = 0, n2 = 0

[Function]

Set external buzzer drive pulse condition.

m specifies the buzzer drive terminal that sets the condition.

m

Buzzer Drive Terminals

1, 49

Buzzer drive terminal 1

2, 50

Buzzer drive terminal 2

n1 specifies the energizing time; n2 specifies the delay time.

• Energizing time

= 20 msec x n1

• Delay time

= 20 msec x n2

The drive of the external buzzer set by this command is performed by m n1 n2.

The set value is not initialized by “@”, or .

20 x n2 (msec)

20 x n1 (msec)

Prohibit Printing, Paper Feed

(Energize Time)

(Delay Time)

OFF

ON

Drive Pulse

Print Operation