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

Print Data Details, Response When No Printing Is Performed

Page 31 highlights

Chapter 3 Request and Response Print Data Details Set the tag as shown below. (Device ID used for slip printing) (Timeout time (in milliseconds)) Example local_printer 10000 When Specifying the Print Job ID Specification of print job ID is available in the TM-i series (TM-i Firmware Ver.4.1 or later). When specifying the print job ID, specify the print job ID in the tag. 3 The print job ID must have 1 to 30 characters and allowable characters are alphanumerical characters, underscore, hyphen and period. Specify the print job ID local_printer 10000 ABC123 Response When No Printing Is Performed When no printing is required, to notify no print data, the following response is returned for a HTTP request (print request) sent from the TM intelligent printer. See Test_print.php of the sample program. HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: 0 31

  • 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

31
Chapter 3
Request and Response
3
Print Data Details
Set the <Parameter> tag as shown below.
When Specifying the Print Job ID
When specifying the print job ID, specify the print job ID in the <Parameter> tag.
The print job ID must have 1 to 30 characters and allowable characters are alphanumerical characters,
underscore, hyphen and period.
Response When No Printing Is Performed
When no printing is required, to notify no print data, the following response is returned for a HTTP request
(print request) sent from the TM intelligent printer.
See Test_print.php of the sample program.
Specification of print job ID is available in the TM-i series (TM-i Firmware Ver.4.1 or later).
<Parameter>
<devid>
(Device ID used for slip printing)
</devid>
<timeout>
(Timeout time (in milliseconds))
</timeout>
</Parameter>
<Parameter>
<devid>
local_printer
</devid>
<timeout>
10000
</timeout>
</Parameter>
Example
<Parameter>
<devid>local_printer</devid>
<timeout>10000</timeout>
<printjobid>
ABC123
</printjobid>
</Parameter>
Specify the print job
ID
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 0