Oki X400 X400 Programming Command Manual - Page 119

Code 128

Page 119 highlights

Code 128 Command Structure BGbbcccdd (data) bb = ccc = dd = (data) = Width of narrow element in dots (01~12). Bar height in dots (001~999) Start code to specify initial subset of bar code data. >G Subset A Start code. >H Subset B Start code. >I Subset C Start code. Includes bar code data and subset shift codes; Shift codes are used to change the subset type within the bar code data. Shift codes: >E Subset A Shift code. >D Subset B Shift code. >C Subset C Shift code. Character Set Density Table All 128 codes. Narrow/Wide "X" Dimension Ratio (mils) 1 5.0 1 10.0 3 15.0 Density (char/inch) Subsets A, B 18.2 9.1 13.8 Subset C 36.5 18.3 12.2 Example The following will start in Subset A for the characters "AB", shift to Subset B for "789", then shift to Subset C for "123456". H100V100BG03100>GAB>D789>C123456 H220V210XSAB789123456 117

  • 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

Code 128
Command Structure
<ESC>BGbbcccdd (data)
bb
=
Width of narrow element in dots (01~12).
ccc
=
Bar height in dots (001~999)
dd
=
Start code to specify initial subset of bar code data.
>G
Subset A Start code.
>H
Subset B Start code.
>I
Subset C Start code.
(data) =
Includes bar code data and subset shift codes; Shift codes are used
to change the subset type within the bar code data. Shift codes:
>E
Subset A Shift code.
>D
Subset B Shift code.
>C
Subset C Shift code.
Character Set
All 128 codes.
Density Table
Density (char/inch)
Narrow/Wide
Ratio
“X” Dimension
(mils)
Subsets A, B
Subset C
1
5.0
18.2
36.5
1
10.0
9.1
18.3
3
15.0
13.8
12.2
Example
The following will start in Subset A for the characters “AB”, shift to Subset B
for “789”, then shift to Subset C for “123456”.
<ESC>H100<ESC>V100<ESC>BG03100>GAB>D789>C123456
<ESC>H220<ESC>V210<ESC>XSAB789123456
117