Programming guide friendly ghost language



Download 1.07 Mb.
Page8/27
Date29.01.2017
Size1.07 Mb.
#11977
1   ...   4   5   6   7   8   9   10   11   ...   27

PDF-417 2D Bar Code



PDF-417 Bar Codes - <PDF#,#,#,#,#,#>{barcode text}
All of the Portable Data File (PDF) bar code command parameters are optional. If omitted default values will be used. The PDF command and the barcode text is all that is required. For example the command
{Boca Systems} will create a PDF 417 2D barcode for the text “Boca Systems” using all default values. Experimentation with the parameters is the easiest way to determine the effect of each.
Total # of Columns Range 0 - 30

Minimum # of Rows Range 0 - 10

Error Check Level Range 0 - 8

Truncate Mode Range 0 or 1

Binary Mode Range 0 or 1

Apply Tilde Range 0 or 1

{Barcode text} ASCII Text
Total Columns - The number of data columns in the PDF417 barcode. The maximum is 30. Leave at 0 for an automatic setting. This will control the width of the bar code.
Total Rows - We recommend leaving this setting at 0, the default. The minimum number of total rows can be set by this.
Error Check - The level of Reed Solomon error correction level placed in the symbol. More error correction creates a larger symbol that can withstand more damage. Leave at 0 for the automatic setting.
Truncated - A truncated PDF 417 symbol is more area efficient than normal PDF417. By selecting this option, the right hand side of the PDF 417 is removed or truncated. This option should only be used in clean environments because it is less immune to damage.
Binary mode - Encodes bytes of data and text mode encodes all characters on the US keyboard plus returns and tabs. The default of 0 is binary mode; 1 is text mode which only encodes ASCII 9,10,13 and 32-127 but takes up less space.
Apply Tilde - If set to 1, you can use the format ~ddd if you want to specify the ASCII code of the character to be encoded. Default is off. For example, if you enter the following text in the Data field: ~029AB you will actually be encoding GSAB where GS is a delimiter ASCII 29 character. This can be used in a single string to encode GS and RS characters (GS = ASCII 29 and RS = ASCII 30). Other commonly used ASCII codes are ~009 for a tab and ~013 which is a return function. These are useful when encoding multiple fields in a single symbol.
NOTE:
The FGL command is used in FGL to manipulate height/width ratios of item printed. For the PDF-417 barcodes to print correctly, a will used exclusively. There are twenty PDF-417 barcode fonts available numbered from to . The default is . They have a point size of 4 to 12 and vary in height width ratios. Experimentation with the different fonts is the easiest way to determine the size and shape of each.
Examples:
The example below will print a 12 point PDF-417 barcode known as . It will produce 3 columns and 2 rows. The command will not be used for the barcode, but can be used for other text. It will appear on the ticket at 150,150 without rotation.

{The quick brown fox jumped over the lazy dog}

The example below will use all default values. It will print a 4 point PDF-417 barcode known as . It will print at the current X,Y coordinates in the current rotation mode. The number of columns and rows will be determined automatically.

{The quick brown fox jumped over the lazy dog}

Data Matrix 2D Bar Code



Data Matrix Bar Codes - <DTM,#,#,#>{barcode text}
All of the Data Matrix (DTM) bar code command parameters are optional. If omitted default values will be used. The DTM command and the barcode text is all that is required. For example the command {Boca Systems} will create a Data Matrix 2D barcode for the text “Boca Systems” using all default values. Experimentation with the parameters is the easiest way to determine the effect of each.
Apply Tilde Range 0 or 1 Default 0

Encode Mode Range 0 – 3 Default 0

Preferred format Range 0 – 29 Default 0

{Barcode text} ASCII Text


Apply Tilde - When Apply Tilde is equal to 1, the tilde (~) may be used to recognize some special characters in the input data. Apply Tilde - If set to 1, you can use the format ~ddd if you want to specify the ASCII code of the character to be encoded. Default is off. For example, if you enter the following text in the Data field: ~029AB you will actually be encoding GSAB where GS is a delimiter ASCII 29 character. This can be used in a single string to encode GS and RS characters (GS = ASCII 29 and RS = ASCII 30). Other commonly used ASCII codes are ~009 for a tab and ~013 which is a return function. These are useful when encoding multiple fields in a single symbol.
Encode Mode - The data represented in the symbol may be compressed by changing the encoding mode, if certain text is being encoded. Valid values are 0 for BASE256, 1 for C40, 2 for TEXT and 3 for ASCII.
Preferred Format - The preferred format determines the smallest size of the symbol. If the data encoded cannot fit in the selected size, a larger symbol will automatically be generated.
NOTE:
The FGL command is used in FGL to manipulate height/width ratios of item printed. For the Data Matrix barcodes to print correctly, a will used exclusively. There are eleven Data Matrix barcode fonts available numbered from to . The default is . They have a point size of 2 to 14 and vary in height width ratios. The 2 point font is very difficult to scan with anything less than a top of the line scanner.
Examples:
The example below will print a 6 point DTM barcode known as . The command will not be used for the barcode, but can be used for other text. It will appear on the ticket at 150,150 without rotation.
{The quick brown fox jumped over the lazy dog}

The example below will use all default values. It will print a 2 point DTM barcode known as . It will print at the current X,Y coordinates in the current rotation mode.


{The quick brown fox jumped over the lazy dog}


Download 1.07 Mb.

Share with your friends:
1   ...   4   5   6   7   8   9   10   11   ...   27




The database is protected by copyright ©ininet.org 2024
send message

    Main page