Select your printer model
Parameters are refined by the selected printer.
<epos-print>
This XML is sent from the application to the printer.
It requests the printer to execute a specified function. <epos-print> has necessary
elements to control the printer.
Attribute
xmlns
Declares the name space of epos-print. The name space is as follows:
http://www.epson-pos.com/schemas/2011/03/epos-print
force
Enables the forced transmission mode.
In the forced transmission mode, print commands are forcibly sent to the printer.
Attribute value |
Description |
---|---|
"true" / "1” |
Enables the forced transmission mode. |
“false” / “0” |
Enables the normal transmission mode. |
Sample program
- Adds a text tag as the child element.
-
<epos-print xmlns=”http://www.epson-pos.com/schemas/2011/03/epos-print”> <text>Hello world!!</text> </epos-print>
Supplementary explanation
- Use the forced transmission mode while the printer is offline.
Enabling it while the printer is online will result in an error. - The following functions are available in the forced transmission mode:
• Kicks the drawer (<pulse>)
• Stops the buzzer (<sound>)
• Recovers from a recoverable error (<recovery>)
• Resets the printer (<reset>)
• Transmits a real-time command (<command>) - For TM-H6000V, you need to enable the Command execution during offline settings.
Refer to TM-H6000V Utility User's Manual for details.
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
ePOS-Device XML includes patented or patent pending functions. The contents must not
be disclosed to third parties.
- 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