beautypg.com

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

Page 61

background image

3-53

STAR Command Specifications

Rev. 0.70

ESC GS EM DC2 m n1 n2

[Name]

Execute external buzzer drive

[Code]

ASCII

ESC

GS

EM

DC2

m n1 n2

Hexadecimal

1B

1D

19

12

m n1 n2

Decimal

27

29

25

18

m n1 n2

[Defined Area]

1 ≤ m ≤ 2

49 ≤ m ≤ 50

1 ≤ n1 ≤ 20

n2 = 0

[Initial Value]

---

[Function]

Repeatedly drives the buzzer according to the ON/OFF conditions set by the external buzzer drive pulse

condition command m t1 t2.

m specifies the buzzer drive terminal to drive.

m

Buzzer Drive Terminals

1, 49

Buzzer drive terminal 1

2, 50

Buzzer drive terminal 2

Specifies the number of times to repeat buzzer drive with (n2 x 256 + n1).

Buzzer cannot ring whle printer is printing.

This command is prohibited for use for anything other than ringing the buzzer.

(When this command is used for the drawer drive on models equipped with an external device terminal, it will

be damaged, so it is absolutely prohibited.)

The buzzer can be stopped by pressing the paper feed switch while it is ringing.

Ex.

Prohibit Printing, Paper Feed

(Note) When off time = 0, it is possible to ring the buzzer continuously for only the amount of n1.

For example, if on = 5 seconds, and off = 0, n1 = 20 times, the buzzer will ring for 100 seconds.

OFF

ON

Drive Pulse

Print Operation

on off

n1 = 8