Oki X400 X400 Programming Command Manual - Page 114

UPC-A/EAN-13

Page 114 highlights

UPC-A/EAN-13 Command Structure B3bbccc (data) D3bbccc (data) BD3bbccc (data) bb = ccc = (data) = Width of narrow element in dots (01~12) Bar height in dots (001~999) Bar code data (numeric); must be exactly 13 digits. For UPC-A, the first digit must be a zero and the last 11 digits are the actual UPC-A data followed by a check digit. Character Set Density Table 0-9 (numeric only) Value of "bb" Narrow Bar Width Magnification (mils) Factor 02 10.0 75% 03 15.0 112% 04 20.0 150% Example H100V100BD30212001234567890 Notes D3 provides guide bars that extend longer than the reset of the bar code. BD3 Provides guide bars and the human readable text below the symbol. Calculating the Mod If you wish to encode the UPC-A data "01234567890", follow these steps to 10 Check Digit find the correct check digit. ODD 0 2 4 6 8 0 EVEN 1 3 5 7 9 CD 112

  • 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

UPC-A/EAN-13
Command Structure
<ESC>B3bbccc (data)
<ESC>D3bbccc (data)
<ESC>BD3bbccc (data)
bb
=
Width of narrow element in dots (01~12)
ccc
=
Bar height in dots (001~999)
(data) =
Bar code data (numeric); must be exactly 13 digits. For UPC-A, the
first digit must be a zero and the last 11 digits are the actual UPC-A
data followed by a check digit.
Character Set
0-9 (numeric only)
Density Table
Value of “bb”
Narrow Bar Width
(mils)
Magnification
Factor
02
10.0
75%
03
15.0
112%
04
20.0
150%
Example
<ESC>H100<ESC>V100<ESC>BD30212001234567890
Notes
D3 provides guide bars that extend longer than the reset of the bar code. BD3
Provides guide bars and the human readable text below the symbol.
Calculating the Mod
If you wish to encode the UPC-A data “01234567890”, follow these steps to
10 Check Digit
find the correct check digit.
ODD
0
2
4
6
8
0
EVEN
1
3
5
7
9
CD
112