The text of a manual · part 14 of 16
PDT 6800 Series Product Reference Guide, pages 114 to 123
Pages 114 to 123 of 139
The original document is the PDF (2.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol PDT-6800, Symbol PDT-6810, Symbol PDT-6842 and Symbol PDT-6846
Page 114
2D Scanner Drivers and Applications linear_security_level
Level 1:
Linear Code Type Security Level. Four levels of decode security for linear code types (e.g., Code 39, Interleaved 2 of 5, Code128 etc). Higher security levels are selected for decreasing levels of bar code quality. As security levels increase, the scanner’s aggressiveness decreases. Select the security level appropriate for your bar code quality.
The following code types must be successfully read twice before being decoded: Code Type Codabar MSI Plessey D 2 of 5 I 2 of 5
Level 2: Level 3:
All code types must be successfully read twice before being decoded. Code types other than the following must be successfully read twice before being decoded. The following codes must be read three times: Code Type MSI Plessey D 2 of 5 I 2 of 5
Level 4:
Length All 4 or less 8 or less 8 or less
Length 4 or less 8 or less 8 or less
All code types must be successfully read three times before being decoded.
linear_supp_enabled
This option applies to supplemental code types. When enabled, a bar code is transmitted only when both blocks are successfully decoded within one laser scan.
code39_xmit_chkdgt
Enable to transmit the check digit with the data. Disable to transmit the data without check digit
F-9
Page 115
PDT 6800 Series Product Reference Guide xmit_i25_chkdgt
Enable to transmit the check digit with the data. Disable to transmit the data without check digit.
msi_chkdgt_scheme
Select which algorithm to use when the number of check digits is set to 2 check digits. 0 = Mod11/Mod10 1 = Mod10/Mod10 check_i25_chkdgt
Select I 2 of 5 check digit type: 0 = Do not use check digit 1 = Use USC (Uniform Symbology Specification) check digit 2 = Use OPCC (Optical Product Code Council) check digit random_weight_chkdgt
This parameter applies to both EAN-13 and UPC-A: 0 = disable random weight check digit 1 = use four digit method to calculate check digit 2 = use five digit method to calculate check digit tri39_red_enabled
Enable TriopticCode39 redundancy.
cvtEAN8_2_EAN13
Convert EAN-8 barcode type to EAN-13. When EAN Zero Extend is enabled, this parameter gives you the option of labeling the extended symbol as either an EAN-13 bar code, or an EAN-8 bar code. This affects Transmit Code ID Character and DECODE_DATA message. When EAN Zero Extend is disabled, this parameter has no effect on bar code data. Uses conv_ean8to13_b from decoder parameters to enable EAN Zero Extend.
cvtI25_2_EAN13
Convert I 2 of 5 barcode type to EAN-13. This parameter converts a 14 character I 2 of 5 code into EAN-13. To accomplish
F-10
Page 116
2D Scanner Drivers and Applications this, the I 2 of 5 code type must be enabled, one length must be set to 14, and the code must have a leading zero and a valid EAN-13 check digit. cvtC39_2_C32
Convert Code39 to Code32. Code 39 must be enabled in order for this parameter to function.
C32Prefix
Code32 Prefix. Enable this parameter to add the prefix character “A” to all Code 32 bar codes. Convert Code 39 to Code 32 must be enabled for this parameter to function.
EnableC128Perf
Enable Code128 Performance. This option offers three levels of decode performance or “aggressiveness” for Code 128 symbols. Increasing the performance level reduces the amount of required bar code orientation, which is useful if you are scanning very long and/or truncated bar codes. Increased levels reduce decode security. If you enable this option, you may select a Decode Performance level to suit your performance needs.
C128PerfLvl
Code128 Decode Performance Level. Valid from Level 1 to Level 3.
EnableC39Perf
Enable Code39 Decode Performance. This option offers three levels of decode performance or “aggressiveness” for Code 39 symbols. Increasing the performance level reduces the amount of required bar code orientation, which is useful if you are scanning very long and/or truncated bar codes. Increased levels reduce decode security. If you enable this option, you may select a Decode Performance level to suit your performance needs. This option only works with Code 39 One Discrete Length.
C39PerfLvl
Code39 Decode Performance Level. Valid from Level 1 to Level 3.
updf_performance
MicroPDF Performance. Controls performance level of
F-11
Page 117
PDT 6800 Series Product Reference Guide
MicroPDF decoding. Set the level to Level 3 or above to improve MicroPDF decode performance. UPC_CompositeUPC Composite Linking
Specifics how UPC Composite Linking is handled.
Get/Set Scan options Uses ConsIoctlGetScanOptions or ConsIoctlSetScanOptions to get/set scan option.
Field Subcommand Number Error Code laser_on_time aim_time scan_mode
BYTE BYTE BYTE BYTE BYTE
Size aim_mode
BYTE
Value/Description 29 = Get, 27 = Set Not Used 5 –99 0-2 1 = Smart Raster, 2 = Always Raster, 4 = Slab Raster 0 = Disable, 1 = Enable laser_on_time
Scanner laser on time. This parameter sets the maximum time decode processing continues during a scan attempt. It is programmable in 0.1 second increments from 0.5 to 9.9 seconds.
aim_time
Aim time. When a scanner with an aim mode is triggered, this parameter sets the duration the aiming pattern is seen before a scan attempt begins. 1 = 200 ms. 2 = 400 ms.
scan_mode
Scan mode. Set the rastering mode of the scan engine. The following are the valid raster mode values: Smart Raster (0x01), Always Raster (0x02), Slab Only Raster (0x04). Programmable raster is not supported.
aim_modeAim mode
Enable/Disable aiming.
F-12
Page 118
2D Scanner Drivers and Applications
Get Macro PDF Auxiliary Data MacroPDF Auxiliary Data contains control block information which can be used to recombine the data from the individual MarcoPDF symbols in the proper order to fully recreate the original file content. Uses ConsIoctlGetMacroPDFAuxData to retrieve the control block information. Note: The structure will contain the last scanned and decoded MacroPDF control block information; if MacroPDF has never been scanned, the fields will contain 0, or NULL.
Field Subcommand Number Error Code SegmentIndex SegmentCount FileId Time_stamp FileSize CheckSum FileName
Size BYTE BYTE WORD WORD 256 BYTES (Byte 6 to Byte 261) LONG WORD WORD 256 BYTES (Byte 269 to Byte 525)
Sender
256 BYTES (Byte 526 to Byte 781) 256 BYTES (Byte 782 to Byte 1037)
Addressee
Value/Description 30 = Get Not Used 0 – 65535 0 – 65535 File IDs Time Stamp is time_t format. 0 – 65535 CRC checksum Null terminated text string containing the original source filename. Sender identification string. Identification string of intended receiver of file.
SegmentIndex
Contains segment index of the MacroPDF symbol.
SegmentCount
Contains total number of macro PDF symbol in the set.
FileIdNull
Terminated text string containing the File Identification sequence. The sequence should be the same for each symbol in set.
Time_stamp
The time stamp of the source file expressed as the elapsed time in seconds from 1-January-1970 00:00 GMT.
F-13
Page 119
PDT 6800 Series Product Reference Guide
FileSize
Total number of bytes in original file.
CheckSum
The 16-bit CCITT-16 CRC result computed over the entire source file.
FineName
Null terminated text string containing the original source filename.
Sender
Sender identification string.
Addressee
Identification string of intended receiver of file.
Get Scanner Version Uses ConsIoctlGetVersion to retrieve the version information.
Field Subcommand Number Error Code Major
BYTE BYTE BYTE
Size
Minor
BYTE
Scannerver
20 BYTES (Byte 4 to Byte 23)
Decoderver
20 BYTES (Byte 24 to Byte 43)
Value/Description 31 = Get Not Used Major version of the scanner driver Minor version of the scanner driver Scanner Driver version string, such as “NB2DSSIA” Software revision string of the SSI scanner software
Major
Major version of the scanner driver.
Minor
Minor version of the scanner driver.
Scannerver
Scanner Driver version string.
Decoderver
Software revision string of the SSI scanner software .
F-14
Page 120
2D Scanner Drivers and Applications
Get Multi Packet Status Uses ConsIoctlGetMultiPacketStatus to retrieve the number of packets left for a multi-packet barcode (such as composite code). For a single packet data, it will always return 0.
Field Subcommand Number Error Code NumPacketsLeft
NumPacketsLeft
Size
Value
BYTE BYTE BYTE
32 = Get Not Used 0 - 255
Number of packets left to be read.
Label Type Definition for 2D Scanner Driver PDT68XX 2D scanner driver supports AIM ID as well as many new symbologies, such as Coupon Code, Composite Code, RSS, and TLC39. Tables below show the relation between label type, symbol ID, and AIM ID.
To support AIM ID, the xmit_code_id_char in Ioctl Get/Set Return Format command will be modified as follow: 0 = Don't transmit code ID 2 = Transmit AIM ID 2 = Transmit AIM ID Table F-5. Symbology table with LabelType, Symbol ID, and AIM ID Code Type Name UPCE0 UPCE1 UPCA MSI EAN8 EAN13 CODABAR
LabelTypeValue (Hex) 0x0 0x1 0x2 0x3 0x4 0x5 0x6
Symbol ID (ASCII) A A A J A A C
AIM ID Letter E E E M E E F
AIM ID Modifier 0 0 0 Same rules as for Code 39 4 0 0 (1) – standard (ABC)
F-15
Page 121
PDT 6800 Series Product Reference Guide
Table F-5. Symbology table with LabelType, Symbol ID, and AIM ID (Continued) CODE39
0x7
B
A
D2OF5 I2OF5 CODE11
0x8 0x9 0xA
G F H
S I H
CODE93 CODE128 PDF417
0xB 0xC 0xD
E D X
G C L
IATA2OF5 EAN128
0xE 0xF
G K
S C
BOOKLAND TRIOPTIC39 COUPON POSTNET (US) PLANET (US) ISBT128 MICROPDF
0x11 0x12 0x13 0x15 0x16 0x19 0x1A
L M N P+ P+ D X
X X E+C* X X C L
CODE32 POSTBAR (CA) POSTAL (UK) MACROPDF RSS 14 RSS LIMITED RSS EXPANDED COMPOSITE A EAN 128
0x20 0x26 0x27 0x28 0x30 0x31 0x32 0x51
B P+ P+ X R R R T
A X X L e e e
F-16
0 – no check digit 1 (3) – check digit included (exclude) 0 Same rule as for Code39 0 (1) [2] – 1 (2) [0] check digits included 0 0 (also see UCC/EAN-128) 0 – Conforms with 1994 PDF-417 spec 1 – Backslash characters doubled 2 – Backslash characters not doubled 0 1 (2) – character 1 (2) is Function 1 (F1) 0 0 1 0 0 0 0,1 or 2 – same definition as PDF417 3 – Code128 emul: implied F1 in 1st position 4 – Code 128 emul: F1 after 1st letter/digits 5 – Code 128 emul: no implied F1 Same rules as for Code 39 0 0 Same rules as for PDF-417 0 0 0 See Composite Code Data Formats Table
Page 122
2D Scanner Drivers and Applications
Table F-5. Symbology table with LabelType, Symbol ID, and AIM ID (Continued) COMPOSITE A EAN 13 COMPOSITE A EAN 8 COMPOSITE A RSS EXPANDED COMPOSITE A RSS LIMITED COMPOSITE A RSS 14 COMPOSITE A UPCA COMPOSITE A UPCE COMPOSITE C EAN128 TLC 39
0x52
T
0x53
T
0x54
T
0x55
T
0x56
T
0x57
T
0x58
T
0x59
T
0x5A
T
COMPOSITE B EAN 128 COMPOSITE B EAN 13 COMPOSITE B EAN 8 COMPOSITE B RSS EXPANDED COMPOSITE B RSS LIMITED COMPOSITE B RSS 14 COMPOSITE B UPCA COMPOSITE B UPCE MACRO MICRO PDF
0x61
T
0x62
T
0x63
T
0x64
T
0x65
T
0x66
T
0x67
T
0x68
T
0x9A
X
L
See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table See Composite Code Data Formats Table Same rules as for Micro PDF417
F-17
Page 123
PDT 6800 Series Product Reference Guide
Table F-5. Symbology table with LabelType, Symbol ID, and AIM ID (Continued) + For CodeID begin with ‘P’, actually it should contain three letters (such as “P01”); but forbackward compatible, only one letter will be returned. !
CouponCode AIM ID: E + C denotes 2 AIM Ids are transmitted: the first prefixes the main UPC/EAN block; the second prefixes the EAN-128 block. The sample data format for CouponCode with AIM ID: ì]E0512345678902]C112345678î.
All Function 1 characters in the 1D and 2D are sent as G S (29 10); the first Function 1 in the EAN-128 is not transmitted. Table F-6. Symbology table with LabelType, Symbol ID, and AIM ID Code Type Name UPCE0 UPCE1 UPCA MSI EAN8 EAN13 CODABAR CODE39
LabelTypeValue (Hex) 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7
Symbol ID (ASCII) A A A J A A C B
E E E M E E F A
D2OF5 I2OF5 CODE11
0x8 0x9 0xA
G F H
S I H
CODE93 CODE128 PDF417
0xB 0xC 0xD
E D X
G C L
IATA2OF5 EAN128
0xE 0xF
G K
S C
BOOKLAND TRIOPTIC39
0x11 0x12
L M
X X
F-18
AIM ID Letter
AIM ID Modifier 0 0 0 Same rules as for Code 39 4 0 0 (1) – standard (ABC) 0 – no check digit 1 (3) – check digit included (exclude) 0 Same rule as for Code39 0 (1) [2] – 1 (2) [0] check digits included 0 0 (also see UCC/EAN-128) 0 – Conforms with 1994 PDF-417 spec 1 – Backslash characters doubled 2 – Backslash characters not doubled 0 1 (2) – character 1 (2) is Function 1 (F1) 0 0