Epson Mobilink TM-P80II Users Manual - ePOS-Device XML - Page 56
Specifying the Print Job ID from the Application, Programming Example, Request, Response
View all Epson Mobilink TM-P80II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 56 highlights
Chapter 3 Programming Guide - Specifying the Print Job ID from the Application 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. (ePOS-Print Service Ver.4.1 or later versions) Job ID : ABC123 Print data Job ID : ABC123 Response data Programming Example Request local_printer 60000 ABC123 Hello, World! Response local_printer 60000 ABC123 56
56
Chapter 3
Programming Guide - Specifying the Print Job ID from the Application
Specifying the Print Job ID from the Application
A response containing the specified print job ID will be returned when sending a request fro
m
the application b
y
specif
y
ing the print job ID. (ePOS-Print Service Ver.4.1 or later versions)
Programming Example
Request
Response
<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>
<timeout>60000</timeout>
<printjobid>ABC123</printjobid>
</parameter>
</s:Header>
<s:Body>
<response xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print"
success="true" code="" status="252641302" battery="0" />
</s:Body>
</s:Envelope>
Job ID : ABC123
Print data
Job ID : ABC123
Response data