Esc gs em dc2 m n1 n2 – Star Micronics Line Thermal Printer User Manual

Page 65

Advertising
background image

―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

STAR Line Mode Command Specifications

3-49

ESC GS EM DC2 m n1 n2

[Name] External buzzer drive execution
[Code]

ASCII ESC

GS

EM

DC2

m

n1

n2

Hex.

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 conditions command <ESC> <GS> <EM> <DC1> m t1 t2.

m specifies the buzzer drive terminal to drive.

m

Buzzer Drive Terminal

1, 49

Buzzer Drive Terminal 1

2, 50

Buzzer Drive Terminal 2


Specifies the number of repetitions of the buzzer drive with (n2 x 256 + n1).
The buzzer will not ring while printing.
This command is prohibited for uses other than to ring the buzzer.
(If this command is used to drive the cash drawer on models that have an external device terminal, the system will be
damaged. Absolutely never use it for other purposes.)
The buzzer can be stopped by pressing the paper feed switch or opening the cover when it is ringing.

Example:


Advertising