Lexmark CS410 Technical Reference Manual page 97

Forms and bar code card technical reference guide
Hide thumbs Also See for CS410:
Table of Contents

Advertisement

Key
Type
/QuietZone
[int int]
/Error Percent integer
This example prints a PDF417 bar code with the following settings:
Sample01234
<<
/Symbology /PDF417
/Type 1
/AspectRatio 0.5
/Units /600ths
/ModuleWidth 20
/Height 2
/ErrorLevel 2
>>barcodeshow
Default
Value
Definition
[150 150]
Optional
Sets the quiet zone in 1/600 inch. The default value is [150
150].
0
Optional
This designates error correction levels by percentage. Valid
percentage values range from 0% to 400%. Any value outside
this range causes a RANGECHECK error. A valid non-zero
value overrides /ErrorLevel. See "/ErrorLevel" on page 96. A
zero value causes the /ErrorLevel value to be used.
If a valid non-zero percentage is specified, then the error
correction level is computed by selecting one of the /ErrorLevel
values (0–8).The error correction level selected is 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 is 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 is selected, because it is closest to 20 x 0.35,
or 7.
%this is the data to be encoded
%specifies PDF417 symbology
%rows and columns determined by /AspectRatio
%height / width ratio is 1 / 2
%smallest element width in 600th units
%smallest element width = 20/600ths
%bar height = 40/600ths
%number of error code words = 8
%because they are not specified, /Truncated
defaults to %false (no ;truncation) and /
QuietZone defaults to [150 150]
Arguments for PDF417 bar code symbology
97

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents