Epson TM-U220 ePOS-Print XML Users Manual - Page 224
Specifying the Print Job ID from the Application
View all Epson TM-U220 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 224 highlights
Chapter 6 Development Information for Customer Displays Specifying the Print Job ID from the Application A response containing the specified print job ID will be returned when sending a request from the application by specifying the print job ID. Job ID : ABC122 Print data Job ID : ABC123 Display data Job ID : ABC122 Response data Job ID : ABC123 Response data Programming Example Request local_display 60000 ABC123 Hello, World! Response local_printer 60000 ABC123 224
224
Chapter 6
Development Information for Customer Displays
Specifying the Print Job ID from the Application
A response containing the specified print job ID will be returned when sending a request from the application by
specifying the print job ID.
Programming Example
Request
Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<parameter xmlns="http://www.epson-pos.com/schemas/2012/09/epos-display">
<devid>local_display</devid>
<timeout>60000</timeout>
<printjobid>ABC123</printjobid>
</parameter>
</s:Header>
<s:Body>
<epos-display xmlns="http://www.epson-pos.com/schemas/2012/09/epos-display">
<text>Hello, World!</text>
</epos-display>
</s:Body>
</s:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<parameter xmlns="http://www.epson-pos.com/schemas/2012/09/epos-display">
<devid>local_printer</devid>
<timeout>60000</timeout>
<printjobid>ABC123</printjobid>
</parameter>
</s:Header>
<s:Body>
<response xmlns="http://www.epson-pos.com/schemas/2012/09/epos-display"
success="true" code="" status="0" />
</s:Body>
</s:Envelope>
Job ID : ABC123
Response data
Job ID : ABC122
Response data
Job ID : ABC123
Display data
Job ID : ABC122
Print data