124
repeat
:
(
Optional
parameter,
Object
type
:
String)
Specifies
the
number
of
repeats.
cycle
:
(
Optional
parameter,
Object
type
:
String,
When
not
specified
:
1000)
Specifies
the
buzzer
sounding
cycle
(in
units
of
milliseconds)
Return value
Exception
Example
Setting
Description
0
The buzzer does not stop.
1 to 255
Number of repeats
undefined
(When not specified)
One time
After
“0”
is
specified
for
repeat,
if
you
want
to
stop
the
buzzer,
execute
this
API
function
and
specify
PATTERN_NONE
for
pattern.
Setting
Description
1000 to 25500
1000 to 25500 milliseconds
undefined
1000 milliseconds
PATTERN_A
to
PATTERN_E/PATTERN_ERROR/PATTERN_PAPER_END
is
disregarded.
Return value
Object type
ePOS-Print Builder Object
ePOS Builder
Exception
Object type
Parameter " ... " is invalid
Error
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function buildMessage() {
var builder = new epson.ePOSBuilder();
builder.addSound(builder.PATTERN_A, 3);
}
//-->
</script>
To repeat the sound pattern A three times:
Содержание TM-T88V-i
Страница 10: ...10 ...
Страница 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Страница 160: ...160 ...
Страница 216: ...216 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm ...
Страница 218: ...218 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm ...
Страница 222: ...222 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm 58mm ...
Страница 258: ...258 ...