Esc gs em dc2 m n1 n2 – Star Micronics Line Thermal/Dot Printer User Manual
Page 78

Rev. 0.00
3-66
STAR LIne Mode Command Specifications
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]
Thermal
: 1 ≤ m ≤ 2, 49 ≤ m ≤ 50, (“1” ≤ m ≤ “2”)
1 ≤ n1 ≤ 20, n2 = 0
Slip
: 1 ≤ m ≤ 2, 49 ≤ m ≤ 50, (“1” ≤ m ≤ “2”)
1 ≤ n1 ≤ 20, n2 = 0
Validation
: 1 ≤ m ≤ 2, 49 ≤ m ≤ 50, (“1” ≤ m ≤ “2”)
1 ≤ n1 ≤ 20, n2 = 0
[Initial Value]
Thermal
: -
Slip
: -
Validation
: -
[Function]
Repeatedly drives the buzzer according to the ON/OFF conditions set by the external buzzer drive
pulse condition command ESC GS EM DC1 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 while 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 FEED switch or the RELEASE switch while the buzzer is
ringing, or opening the receipt cover or the slip cover.
[Ex.:]
Drive Pulse
ON
Print Operation
OFF
Printing/Paper Feed Prohibited
(Note) If the off time is set to 0 (zero), it is possible to ring the buzzer
continuously for the amount of n1. For example, if on = 5 seconds, off = 0,
and n1 = 20 times, the buzzer will ring for 100 seconds.
ON
n1 = 8
OFF