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

<barcode type=upc_a width=2 height=64 hri=below>01234567890&lt

Page 80 highlights

 width : (data type xs:unsignedByte Default "3") Specifies the width of each module in dots. Specifies an integer from 2 to 6.  height : (data type xs:unsignedByte Default "162") Specifies the barcode height in dots.  align : (data type tns:align) Specifies the print position. Attribute value left (default) center right Description Alignment to the left Alignment to the center Alignment to the right The align attribute set in this element also applies to the align attribute in each of the text, image, logo, and symbol elements.  rotate : (data type xs:boolean) Specifies the rotate printing. Attribute value true or 1 false or 0 (default) Description Specifies rotated printing of text. Cancels rotated printing of text. • For the standard mode, specify the rotate attribute "when at the start of a line". • In page mode, even if rotate is specified, it is disabled. • In the page mode, set the printing direction to "right_to_left" with "direction" and conduct 180 rotation printing. • The rotate attribute set in this element also applies to the rotate attribute in each of the text and symbol elements. Example To print barcodes: epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print"> 01234567890 01234500005 201234567890 201234567890 2012345 2012345 ABCDE 012345 A012345A ABCDE {Babcde (01)201234567890* 0201234567890 0201234567890 0201234567890 (01)2012345678903 80

  • 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

80
width :
(data type xs:unsignedByte Default "3")
Specifies the width of each module in dots. Specifies an integer from 2 to 6.
height :
(data type xs:unsignedByte Default "162")
Specifies the barcode height in dots.
align :
(data type tns:align)
Specifies the print position.
rotate :
(data type xs:boolean)
Specifies the rotate printing.
Example
Attribute value
Description
left (default)
Alignment to the left
center
Alignment to the center
right
Alignment to the right
The align attribute set in this element also applies to the align attribute in each of the text,
image, logo, and symbol elements.
Attribute value
Description
true or 1
Specifies rotated printing of text.
false or 0 (default)
Cancels rotated printing of text.
For the standard mode, specify the rotate attribute "when at the start of a line".
In page mode, even if rotate is specified, it is disabled.
In the page mode, set the printing direction to "right_to_left" with "direction" and conduct
180 rotation printing.
The rotate attribute set in this element also applies to the rotate attribute in each of the
text and symbol elements.
<barcode type="upc_a" width="2" height="64" hri="below">01234567890</
barcode>
<barcode type="upc_e">01234500005</barcode>
<barcode type="ean13">201234567890</barcode>
<barcode type="jan13">201234567890</barcode>
<barcode type="ean8">2012345</barcode>
<barcode type="jan8">2012345</barcode>
<barcode type="code39">ABCDE</barcode>
<barcode type="itf">012345</barcode>
<barcode type="codabar">A012345A</barcode>
<barcode type="code93">ABCDE</barcode>
<barcode type="code128">{Babcde</barcode>
<barcode type="gs1_128">(01)201234567890*</barcode>
<barcode type="gs1_databar_omnidirectional">0201234567890</barcode>
<barcode type="gs1_databar_truncated">0201234567890</barcode>
<barcode type="gs1_databar_limited">0201234567890</barcode>
<barcode type="gs1_databar_expanded">(01)2012345678903</barcode>
</epos-print>
To print barcodes: