Lexmark X925 Forms and Bar Code Card Technical Reference Guide - Page 33

COLexmark Enhanced GL/2, &x8W[00 14 32 18 82 B9 0B 01], &y8W12345678, &x3W[00 01 02]

Page 33 highlights

ESC%0B COLexmark Enhanced GL/2; ESC%0A Command examples: Australian Post bar code with FCC=11, encoding table = N, data = 12345678: ESC&x8W[00 14 32 18 82 B9 0B 01]ESC&y8W12345678 Two-dimensional PDF417 with ECC = 2, data = 12345678: ESC&x3W[00 01 02]ESC&y8W12345678 The general strategy for assigning new Lexmark symbology IDs and defining new Lexmark bar code descriptors is defined in the following table: Symbology ID 0-19 20-39 40-99 100-199 Type of symbology Two-dimensional symbologies 4-State bar codes Miscellaneous symbologies One-dimensional bar codes For new one-dimensional bar codes, the Lexmark bar code descriptors all have the same initial 14 fields, patterned after the font-like parameter sequence used for existing one-dimensional symbologies, as described: Field name Symbology ID Text Location Text Typeface Text Style Bar Dimension Units Bar Height Bar Width #1 Bytes 2 1 1 1 1 2 2 Space Width #1 2 Bar Width #2 2 Space Width #2 2 Bar Width #3 2 Space Width #3 2 Description Identifies the bar code symbology Specifies the location of human-readable text (#p parameter) Specifies the typeface of human-readable text (#h parameter, "A" value) Specifies the style of human-readable text (#h parameter, "C" value) Specifies the units used in bar/space height and width fields Specifies bar heights in bar dimension units (#v parameter) Specifies the first (thinnest) bar width in bar dimension units (#b1 parameter) Specifies the first (thinnest) space width in bar dimension units (#s1 parameter) Specifies the second bar width in bar dimension units (#b2 parameter) Specifies the second space width in bar dimension units (#s2 parameter) Specifies the third bar width in bar dimension units (#b3 parameter) Specifies the third space width in bar dimension units (#s3 parameter) PCL 5 emulation: Lexmark 30

  • 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
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170

PCL 5 emulation: Lexmark
30
ESC
%0B
COLexmark Enhanced GL/2;
ESC
%0A
Command examples:
Australian Post bar code with FCC=11, encoding table = N, data = 12345678:
ESC
&x8W[00 14 32 18 82 B9 0B 01]
ESC
&y8W12345678
Two-dimensional PDF417 with ECC = 2, data = 12345678:
ESC
&x3W[00 01 02]
ESC
&y8W12345678
The general strategy for assigning new Lexmark symbology IDs and defining new Lexmark bar code
descriptors is defined in the following table:
For new one-dimensional bar codes, the Lexmark bar code descriptors all have the same initial 14
fields, patterned after the font-like parameter sequence used for existing one-dimensional
symbologies, as described:
Symbology ID
Type of symbology
0–19
Two-dimensional symbologies
20–39
4-State bar codes
40–99
Miscellaneous symbologies
100–199
One-dimensional bar codes
Field name
Bytes
Description
Symbology ID
2
Identifies the bar code symbology
Text Location
1
Specifies the location of human-readable text (#p parameter)
Text Typeface
1
Specifies the typeface of human-readable text (#h parameter, “A” value)
Text Style
1
Specifies the style of human-readable text (#h parameter, “C” value)
Bar Dimension
Units
1
Specifies the units used in bar/space height and width fields
Bar Height
2
Specifies bar heights in bar dimension units (#v parameter)
Bar Width #1
2
Specifies the first (thinnest) bar width in bar dimension units (#b1
parameter)
Space Width #1
2
Specifies the first (thinnest) space width in bar dimension units (#s1
parameter)
Bar Width #2
2
Specifies the second bar width in bar dimension units (#b2 parameter)
Space Width #2
2
Specifies the second space width in bar dimension units (#s2
parameter)
Bar Width #3
2
Specifies the third bar width in bar dimension units (#b3 parameter)
Space Width #3
2
Specifies the third space width in bar dimension units (#s3 parameter)