25
Chapter 3:
Using Easy Print Mode
O’Neil Programming Language Reference Manual
Using PDF-417 Symbols
You can print any characters using O'Neil PDF-417 symbols. PDF-417 symbols are optimized
for printing a mixture of numbers, text, and control characters.
To use PDF-417 as a standard bar code:
1
Enter Easy Print Mode using
ESC+EZ
.
2
Select the barcode using the name
PD417
.
3
Enter data between vertical bars (|). If the data is long, do not enter a carriage return
and/or line feed unless you want
CR/LF
to appear in the bar code
The following PDF-417 field parameters can be specified
:
Use the following guidelines when entering PDF-417 symbols:
•
A maximum of 1848 text characters (fewer if mixed with arbitrary bytes)
•
A minimum of 3 rows and a maximum of 30 rows
•
A minimum of 1 column and a maximum of 30 columns
•
Error detection and correction characters vary with different security levels:
Level 1 adds 4 codewords
Level 2 adds 8 codewords
Level 3 adds 16 codewords
Level 4 adds 32 codewords
Level 5 adds 64 codewords
Level 6 adds 128 codewords
Level 7 adds 256 codewords
Level 8 adds 512 codewords
Using PDF4-17 Example
{PRINT:
@75,10:PD417,YDIM 6,XDIM 2,COLUMNS 2, SECURITY 3|ABCDEFGHIJKL|}
Explanation:
Prints a PDF-417 bar code containing ABCDEFGHIJKL with each element .010"
wide and .030" high; each row contains 2 data bytes and uses an error detection and
correction level of 3, which adds 16 error correction code words to the bar code.
COLUMNS
Specifies the number of columns of data printed in each row of the bar code.
If a column is not specified, the default value of 2 data columns is used. The
actual columns used is 4 greater than data columns. (2 for gard columns
and 2 for row indicator columns).
SECURITY
Specifies the level of error detection and correction codes, from 1 through 8.
If not specified, the following default values for the number of data
characters to be printed is used:
1-40 characters
40-160 characters
161-320 characters
321-863 characters
Level 2
Level 3
Level 4
Level 5
YDIM
Specifies the height of each element, in units of .005 inches. The default
height is 1.
WDIM
Specifies the width of each element, in units of .005 inches. The default
width is 1.
Содержание microFlash2
Страница 3: ......