Epson TM-T20II-i Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 34

Print Result Details, <response> tag, When the Print Job ID Is Specified

Page 34 highlights

Print Result Details tag Check if the tag indicates "success" or "failed". true false Item Description Success Failed On failure, an error code is described in "code". For details, see "Error code" (p.35). #Success #Failed When the Print Job ID Is Specified Specification of print job ID is available in the TM-i series (TM-i Firmware Ver.4.1 or later). When the print job ID is specified, the print job ID is returned in the tag. Print job ID local_printer ABC123 . . . 34

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48

34
Print Result Details
<response> tag
Check if the <response> tag indicates "success" or "failed".
On failure, an error code is described in "code".
For details, see
"Error code" (p.35)
.
When the Print Job ID Is Specified
When the print job ID is specified, the print job ID is returned in the <Parameter> tag.
Item
Description
true
Success
false
Failed
Specification of print job ID is available in the TM-i series (TM-i Firmware Ver.4.1 or later).
<PrintResponseInfo Version="1.00">
#Success
<response xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print" success="true" code=""
status="251854870" battery="0"/>
#Failed
code="EX_BADPORT" status="1" battery="0"/>
</PrintResponseInfo>
<?xml version="1.0" encoding="utf-8"?>
<PrintResponseInfo Version="2.00">
<ePOSPrint>
<Parameter>
<devid>local_printer</devid>
<printjobid>ABC123</printjobid>
</Parameter>
<PrintResponse>
.
.
.
</PrintResponse>
</ePOSPrint>
</PrintResponseInfo>
Print job ID