Select your printer model
<window>
Creates a new window, deletes a specified window, or moves the current window.
- Specifying the number, x, y, width, and height attributes creates a window.
- Specifying the number attribute and specifying "true/1" in the destroy attribute deletes the specified window.
- Specifying the number attribute only moves the current window to the specified window.
Attribute
number
Attribute value |
Description |
---|---|
“1” to “4” |
Specifies the window number. |
x
Attribute value |
Description |
---|---|
“1” to “44” |
Specifies the origin of the X coordinate. |
y
Attribute value |
Description |
---|---|
“1” to “19” |
Specifies the origin of the Y coordinate. |
width
Attribute value |
Description |
---|---|
“1” to “44” |
Specifies the window width. |
height
Attribute value |
Description |
---|---|
“1” to “19” |
Specifies the window height. |
scrollmode
Attribute value |
Description |
---|---|
“overwrite” |
|
“v_scroll” |
|
“h_scroll” |
|
destroy
Attribute value |
Description |
---|---|
“true” / “1” |
Deletes the window specified by number. |
“false” / “0” |
Does not delete the window. |
Error condition
Error value |
Description |
---|---|
“EX_INVALID_VALUE” |
The x, y, width, and/or height values of the new window coincident with the area of an existing window. |
“EDSP_INVALID_WINDOW” |
The window specified as the new current window does not exist. |
Sample program
- Defines a window "1" of which origin is at the upper-left corner, width is "10," and height is "2" and which scrolls vertically.
-
<window number=”1” x=”1” y=”1” width=”10” height=”2” scrollmode=”v_scroll”/>
- Defines a window "2" of which origin is at the center, width is "10," and height is "2" and which scrolls vertically.
-
<window number=”2” x=”11” y=”1” width=”10” height=”2” scrollmode=”v_scroll”/>
- Moved the current window to window 1.
-
<window number=”1”/>
- Deletes window 2.
-
<window number=”2” destroy=”true”/>
Supplementary explanation
- When creating an additional window, pay attention so that the new window does not overlap an existing window on the customer display.
- If the number, x, y, width, and height elements are specified and the destroy attribute is set to "true/1," no window is created nor deleted.
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
- List of KeyCode
- Supported Printers by XMLs
- ePOS-Device XML Functions That Can Be Used
- List of Supported Elements
- Printer-specific Support Information
- TM-T20II-i
- TM-T70-i
- TM-T82II-i
- TM-T83II-i
- TM-T88V-i
- TM-T88VI-iHUB
- TM-U220-i
- TM-U220IIB-i
- TM-T70II-DT
- TM-T70II-DT2
- TM-T88V-DT
- TM-T88VI-DT2
- TM-H6000IV-DT
- TM-H6000V
- TM-H6000VI
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-T88VI
- TM-T88VII
- TM-L100
- TM-m10
- TM-P20
- TM-P60II (Receipt)
- TM-P60II (Peeler)
- TM-P80
- TM-T20
- TM-T20II
- TM-T70
- TM-T70II
- TM-T82II
- TM-T83II
- TM-T88IV
- TM-T88V
- TM-T90
- TM-L90
- TM-U220
- TM-U220II
- TM-H6000IV
- Usage restriction by firmware version