Lexmark X864 Forms and Bar Code Technical Reference - Page 89

Default, Value, Definition, This example will print a PDF417 bar code with the following settings

Page 89 highlights

Key /ErrorLevel Type integer /Mode /Macro /Truncated integer boolean boolean /QuietZone [int int] /Error Percent integer Default Value 0 Definition Optional; 0 - 8, default is 0 Designates error correction levels by predetermined values: Integer value Number of error code words 0 2 1 4 2 8 3 16 4 32 5 64 6 128 7 256 8 512 If the value is anything other than 0-8, a RANGECHECK is set. Error correction can also be specified as a percentage. A valid non-zero /Errorpercent value will override /ErrorLevel. See "/ Error Percent" on page 86. Optional; not supported Optional; not supported false Optional; default is false (no truncation) If true, right row indicator and stop pattern are omitted. [150 150] Optional; in 1/600 inch; default is [150 150] 0 Optional; 0-400; default is 0 Designates error correction levels by percentage. Valid percentage values range from 0% to 400%. Any values outside this range will cause a RANGECHECK error. A valid non-zero value will override /ErrorLevel. See "/ErrorLevel" on page 86. A zero value will cause the /ErrorLevel value to be used. If a valid non-zero percentage is specified, the error correction level will be computed by selecting one of the /ErrorLevel values (0-8).The error correction level selected will be the one that best matches the number generated by multiplying the specified percentage by the number of data code words in the symbol. Example: If there are 20 data code words in the symbol, and / ErrorPercent is specified at 100% (100), then the /ErrorLevel selected will be the one closest to 20, or /ErrorLevel 3 (16 error code words). For the same 20 data code words, and an /ErrorPercent of 35% (35), /ErrorLevel 2 will be selected, because it is closest to 20 x 0.35, or 7. This example will print a PDF417 bar code with the following settings: Sample01234

  • 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

Arguments for PDF417 bar code symbology
86
This example will print a PDF417 bar code with the following settings:
/ErrorLevel
integer
0
Optional; 0 – 8, default is 0
Designates error correction levels by predetermined values:
If the value is anything other than 0-8, a RANGECHECK is set.
Error correction can also be specified as a percentage. A valid
non-zero /Errorpercent value will override /ErrorLevel. See “/
Error Percent” on page 86.
/Mode
integer
Optional; not supported
/Macro
boolean
Optional; not supported
/Truncated
boolean
false
Optional; default is false (no truncation)
If true, right row indicator and stop pattern are omitted.
/QuietZone
[int int]
[150 150]
Optional; in 1/600 inch; default is [150 150]
/Error Percent
integer
0
Optional; 0-400; default is 0
Designates error correction levels by percentage. Valid
percentage values range from 0% to 400%. Any values outside
this range will cause a RANGECHECK error. A valid non-zero
value will override /ErrorLevel. See “/ErrorLevel” on page 86. A
zero value will cause the /ErrorLevel value to be used.
If a valid non-zero percentage is specified, the error correction
level will be computed by selecting one of the /ErrorLevel values
(0-8).The error correction level selected will be the one that best
matches the number generated by multiplying the specified
percentage by the number of data code words in the symbol.
Example:
If there are 20 data code words in the symbol, and /
ErrorPercent is specified at 100% (100), then the /ErrorLevel
selected will be the one closest to 20, or /ErrorLevel 3 (16 error
code words).
For the same 20 data code words, and an /ErrorPercent of 35%
(35), /ErrorLevel 2 will be selected, because it is closest to 20 x
0.35, or 7.
Sample01234
%this is the data to be encoded
<<
Key
Type
Default
Value
Definition
Integer value
0
1
2
3
4
5
6
7
8
Number of error code words
2
4
8
16
32
64
128
256
512