Epson TM-T20II-i ePOS-Print XML Users Manual - Page 81

<symbol>, 2D-code Type

Page 81 highlights

Chapter 4 XML Reference Prints a 2D-code. Specifies the 2D-code using a character string. (Data type xs:string) • A 2D-code will not be printed if settings not compliant with the 2D-code standard are made, or if the 2D-code becomes larger than the printer's print area. And an error response will not be returned, either. • In standard mode, a more than 831 dot high 2D-code cannot be printed. • In page mode, a 2D-code is laid out in the current print position with the reference point being its top left dot. 2D-code Type The following 2D-codes can be specified: Type Description PDF417 Convert the character string to the string in UTF-8, apply the escape sequence, and then encode the string. The data area can contain up to 928 code words in a maximum of 90 rows, each of which can contain up to 30 code words. QR Code Micro QR Code Convert the character string to the string in Shift-JIS, apply the escape sequence, and then encode the string based on the data type as shown below. Number: 0 to 9 Alphanumeric character: 0 to 9, A to Z, space Kanji character: Shift-JIS value 4 8-bit, byte data: 0x00 to 0xff MaxiCode Convert the character string to the string in UTF-8, apply the escape sequence, and then encode the string. In Modes 2 and 3, when the first piece of data is [)>\ x1e01\x1dyy (where yy is a two-digit number), this is processed as the message header, and the subsequent data is processed as the primary message. In other cases, from the first piece of data, data is processed as the primary message. In Mode 2, specify the primary message in the following format: Postal code (1- to 9-digit number) GS:(\x1d) ISO country code (1- to 3digit number) GS:(\x1d) Service class code (1- to 3-digit number) In Mode 3, specify the primary message in the following format: Postal code (1 to 6 pieces of data convertible by Code Set A) GS:(\x1d) ISO country code (1- to 3-digit number) GS:(\x1d) Service class code (1- to 3-digit number) GS1 DataBar Stacked GS1 DataBar Stacked Omnidirectional Convert the character string to the string in UTF-8, apply the escape sequence, and then encode the string. Specify a 13-digit global trade item number (GTIN) not including an application identifier (AI) or a check digit. 81

  • 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
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

81
Chapter 4
XML Reference
4
<symbol>
Prints a 2D-code.
Specifies the 2D-code using a character string. (Data type
xs:string)
2D-code Type
The following 2D-codes can be specified:
A 2D-code will not be printed if settings not compliant with the 2D-code standard are made, or if
the 2D-code becomes larger than the printer's print area. And an error response will not be
returned, either.
In standard mode, a more than 831 dot high 2D-code cannot be printed.
In page mode, a 2D-code is laid out in the current print position with the reference point being
its top left dot.
Type
Description
PDF417
Convert the character string to the string in UTF-8, apply the escape
sequence, and then encode the string.
The data area can contain up to 928 code words in a maximum of 90
rows, each of which can contain up to 30 code words.
QR Code
Convert the character string to the string in Shift-JIS, apply the escape
sequence, and then encode the string based on the data type as
shown below.
Number:
0 to 9
Alphanumeric character:
0 to 9, A to Z, space, $, %, *, +, -, ., /, :
Kanji character:
Shift-JIS value
8-bit, byte data:
0x00 to 0xff
Micro QR Code
MaxiCode
Convert the character string to the string in UTF-8, apply the escape
sequence, and then encode the string.
In Modes 2 and 3, when the first piece of data is [)>\ x1e01\x1dyy
(where yy is a two-digit number), this is processed as the message
header, and the subsequent data is processed as the primary mes-
sage. In other cases, from the first piece of data, data is processed as
the primary message.
In Mode 2, specify the primary message in the following format:
Postal code (1- to 9-digit number) GS:(\x1d)
ISO country code (1- to 3-
digit number) GS:(\x1d) Service class code (1- to 3-digit number)
In Mode 3, specify the primary message in the following format:
Postal code (1 to 6 pieces of data convertible by Code Set A)
GS:(\x1d)
ISO country code (1- to 3-digit number) GS:(\x1d) Service
class code (1- to 3-digit number)
GS1 DataBar Stacked
Convert the character string to the string in UTF-8, apply the escape
sequence, and then encode the string.
Specify a 13-digit global trade item number (GTIN) not including an
application identifier (AI) or a check digit.
GS1 DataBar Stacked
Omnidirectional