Select your printer model
<sound>
Specifies how to sound the buzzer.
Attribute
pattern
Attribute value |
Description |
---|---|
“none” |
Stop |
“pattern_a” |
Pattern A (optional external buzzer) |
“pattern_b” |
Pattern B (optional external buzzer) |
“pattern_c” |
Pattern C (optional external buzzer) |
“pattern_d” |
Pattern D (optional external buzzer) |
“pattern_e” |
Pattern E (optional external buzzer) |
“error” |
Error sound pattern (optional external buzzer) |
“paper_end” |
Paper empty sound pattern (optional external buzzer) |
“pattern_1” |
Pattern 1 (built-in buzzer) |
“pattern_2” |
Pattern 2 (built-in buzzer) |
“pattern_3” |
Pattern 3 (built-in buzzer) |
“pattern_4” |
Pattern 4 (built-in buzzer) |
“pattern_5” |
Pattern 5 (built-in buzzer) |
“pattern_6” |
Pattern 6 (built-in buzzer) |
“pattern_7” |
Pattern 7 (built-in buzzer) |
“pattern_8” |
Pattern 8 (built-in buzzer) |
“pattern_9” |
Pattern 9 (built-in buzzer) |
“pattern_10” |
Pattern 10 (built-in buzzer) |
repeat
Attribute value |
Description |
---|---|
“0” |
Unlimited |
“1” to “255” |
1 to 255 times |
cycle
Attribute value |
Description |
---|---|
“1000” to “25500” |
Specifies the buzzer sound cycle in milliseconds. |
Sample program
- Sounds the pattern A three times.
-
<sound pattern="pattern_a" repeat="3" />
Supplementary explanation
- This element does not work in the page mode.
- The buzzer function cannot be used with the drawer function.
- This element can be used with a model which has the buzzer function.
- To stop the buzzer after specifying "0" in the repeat attribute, issue the request again by specifying "none" in the pattern attribute.
- The cycle attribute is only available when pattern_1 to pattern_10 is specified in the pattern attribute.
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
- Introduction
- help
- Message
- CommunicationBox Messages
- Device Messages
- DeviceHubTerminal
- BarcodeScanner
- Printer
- <type>print</type>
- <type>onxmlresult</type>
- <epos-print>
- <response>
- <text>
- <feed>
- <image>
- <logo>
- <barcode>
- <symbol>
- <hline>
- <vline-begin>
- <vline-end>
- <page>
- <area>
- <direction>
- <position>
- <line>
- <rectangle>
- <cut>
- <pulse>
- <sound>
- <command>
- <layout>
- <recovery>
- <reset>
- <batch-begin>
- <batch-end>
- <rotate-begin>
- <rotate-end>
- HybridPrinter
- <type>lock</type>
- <type>unlock</type>
- <type>print</type>
- <type>onxmlresult</type>
- <type>slipwaitinsertion</type>
- <type>slipprint2</type>
- <type>slipcancel</type>
- <type>endorsewaitinsertion</type>
- <type>endorseprint2</type>
- <type>endorsecancel</type>
- <type>validationwaitinsertion</type>
- <type>validationprint2</type>
- <type>validationcancel</type>
- <type>micrread</type>
- <type>micrcleaning</type>
- <type>micrcancel</type>
- <type>eject</type>
- <type>onreceive</type>
- CustomerDisplay
- Keyboard
- POSKeyboard
- MSR
- SerialDevice
- Storage
- OtherPeripheral
- Appendix