Epson TM-T20II-i ePOS-Print XML Users Manual - Page 56
Programming Example, Printing Process
![]() |
View all Epson TM-T20II-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 56 highlights
Programming Example Printing Process Request local_printer 60000 ABC123 Hello, World! Response local_printer ABC123 • The TM intelligent printer will issue a print job ID if the print job ID is not specified by the application. • As the printing process has not been performed at this time, success will be set to "true," code to "" (left empty), status to 0x00000002 or 0x80000000 and battery to "0". 56
![](/manual_guide/products/epson-p60ii-eposprint-xml-user-s-manual-744bcec/56.png)
56
Programming Example
Printing Process
Request
Response
•
The TM intelligent printer will issue a print job ID if the print job ID is not specified by the
application.
•
As the printing process has not been performed at this time, success will be set to "true," code
to "" (left empty), status to 0x00000002 or 0x80000000 and battery to "0".
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<parameter xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
<devid>local_printer</devid>
<timeout>60000</timeout>
<printjobid>ABC123</printjobid>
</parameter>
</s:Header>
<s:Body>
<epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
<text>Hello, World! </text>
<cut />
</epos-print>
</s:Body>
</s:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<parameter xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
<devid>local_printer</devid>
<printjobid>ABC123</printjobid>
</parameter>
</s:Header>
<s:Body>
<response xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print"
success="true" code="" status="2" battery="0" />
</s:Body>
</s:Envelope>