Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 30 of 48

Symbol DS6707 Digital Imager Scanner Product Reference Guide: Advanced Data Formatting, pages 233 to 242

Pages 233 to 242 of 394, from Symbol DS6707 Digital Imager Scanner Product Reference Guide

The original document is the PDF (8.1 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 DS-6707

Page 233

Chapter 11 Advanced Data Formatting Introduction Advanced Data Formatting (ADF) is a means of customizing data before transmission to the host device. Use ADF to edit scan data to suit requirements. Implement ADF by scanning a related series of bar codes, which begin on page 11-8, or by installing the 123Scan utility (see Chapter 9, 123Scan) which allows programming the digital imager scanner with ADF rules. Avoid using ADF formatting with bar codes containing more than 60 characters. To add a prefix or suffix value for such bar codes, use the Add Prefix/Suffix setting. Using ADF with longer bar codes transmits the bar code in segments of length 252 or less (depending on the host selected), and applies the rule to each segment.

Rules: Criteria Linked to Actions ADF uses rules to customize data. These rules perform detailed actions when the data meets certain criteria. One rule may consist of single or multiple criteria applied to single or multiple actions. For instance, a data formatting rule could be: Criteria:

When scan data is Code 39, length 12, and data at the start position is the string “129”,

Actions:

pad all sends with zeros to length 8, send all data up to X, send a space.

Scanning a Code 39 bar code of 1299X1559828 transmits the following: 00001299<space>. If you scan a Code 39 bar code of 1299X15598, this rule is ignored because the bar code didn’t meet the length criteria. The rule specifies the editing conditions and requirements before data transmission occurs.

Page 234

11 - 2

Symbol DS6707 Digital Imager Scanner Product Reference Guide

Using ADF Bar Codes When programming a rule, make sure the rule is logically correct. Plan ahead before scanning. To program each data formatting rule:

• Start the Rule. Scan the Begin New Rule bar code on page 11-8. • Specify Criteria. Scan the bar codes for all pertinent criteria. Criteria can include code type (e.g., Code 128), code length, or data that contains a specific character string (e.g., the digits “129”). See Criteria on page 11-11.

• Select Actions. Scan all actions related to, or affecting, these criteria. The actions of a rule specify how to format the data for transmission. See Actions on page 11-27.

• Save the Rule. Scan the Save Rule bar code on page 11-8. This places the rule in the “top” position in the rule buffer.

• Use special-purpose bar codes to correct errors during this process. Erase criteria, actions, and entire rules by scanning the appropriate bar code on page 11-9. Beeper Definitions on page 2-2 guide through the programming steps.

ADF Bar Code Menu Example This section provides an example of how to enter ADF rules for scan data. An auto parts distribution center wants to encode manufacturer ID, part number, and destination code into their own Code 128 bar codes. The distribution center also has products that carry UPC bar codes, placed there by the manufacturer. The Code 128 bar codes have the following format: MMMMMPPPPPDD Where:

M = Manufacturer ID P = Part Number D = Destination Code

The distribution center uses a PC with dedicated control characters for manufacturer ID <CTRL M>, part number <CTRL P>, and destination code <CTRL D>. At this center the UPC data is treated as manufacturer ID code. The following rules must be entered: When scanning data of code type Code 128, send the next 5 characters, send the manufacturer ID key <CTRL M>, send the next 5 characters, send the part number key <CTRL P>, send the next 2 characters, send the destination code key <CTRL D>. When scanning data of code type UPC/EAN, send all data, send the manufacturer ID key <CTRL M>. To enter these rules, use the following steps:

Page 235

Advanced Data Formatting

11 - 3

Rule 1: The Code 128 Scanning Rule Step

Bar Code

On Page

Beep Indication

1

Begin New Rule

11-8

High High

2

Code 128

11-11

High High

3

Send next 5 characters

11-28

High High

4

Send <CTRL M>

11-49

High High

5

Send next 5 characters

11-28

High High

6

Send <CTRL P>

11-49

High High

7

Send next 2 characters

11-27

High High

8

Send <CTRL D>

11-48

High High

9

Save Rule

11-8

High Low High Low

Rule 2: The UPC Scanning Rule Step

Bar Code

On Page

Beep Indication

1

Begin New Rule

11-8

High High

2

UPC/EAN

11-13

High High

3

Send all remaining data

11-27

High High

4

Send <CTRL M>

11-49

High High

5

Save Rule

11-8

High Low High Low

To correct any errors made while entering this rule, scan the Quit Entering Rules bar code on page 11-9. If you already saved the rule, scan the Erase Previously Saved Rule bar code on page 11-9.

Alternate Rule Sets Group ADF rules into one of four alternate sets which you can turn on and off when needed. This is useful to format the same message in different ways. For example, a Code 128 bar code contains the following information: Class (2 digits), Stock Number (8) digits, Price (5 digits) The bar code might look like this: 245671243701500 where: Class = 24 Stock Number = 56712437 Price = 01500 Ordinarily, data transmits as follows: 24 (class key) 56712437 (stock key) 01500 (enter key) But, when there is a sale, send only the following: 24 (class key) 56712437 (stock key)

Page 236

11 - 4

Symbol DS6707 Digital Imager Scanner Product Reference Guide and the cashier keys the price manually. To implement this, first enter an ADF rule that applies to the normal situation, such as: Scan Rule Belongs to Set 1. When scanning a bar code of length 15, send the next 2 characters, send the class key, send the next 8 characters, send the stock key, send the data that remains, send the Enter key. The “sale” rule may look like this: Scan Rule Belongs to Set 2. When scanning a bar code of length 15, send the next 2 characters, send the class key, send the next 8 characters, send the stock key. To switch between the two sets of rules, program a “switching rule” that specifies the type of bar code to be scanned to switch between the rule sets. For example, in the case of the “sale” rule above, the rule programmer wants the cashier to scan the bar code “M” before a sale. To do this, enter the following rule: When scanning a bar code of length 1 that begins with “M”, select rule set number 1. Program another rule to switch back. When scanning a bar code of length 1 that begins with “N”, turn off rule set number 1. Or include the switching back rules in the “sale” rule: When scanning a bar code of length 15, send the next 2 characters, send the class key, send the next 8 characters, send the stock key, turn off rule set 1. For optimal results, scan the Disable All Rule Sets bar code on page 11-10 after programming a rule belonging to an alternate rule set. In addition to enabling and disabling rule sets within the rules, enable or disable them by scanning the appropriate bar codes on page 11-10.

Rules Hierarchy (in Bar Codes) The order of programming individual rules is important. Program the most general rule first. All programmed rules are stored in a buffer. As they are programmed, they are stored at the “top” of a rules list. If you create three rules, the list is configured as follows: Third Rule Second Rule First Rule When you scan data, the rules list is checked from top to bottom to determine if the criteria matches (and therefore, if the actions occur). Input is modified into the data format specified by the first matching set of criteria it finds. Be sure to program the most general rule first. For example, if the THIRD rule states: When scanning a bar code of any length, send all data, then send the ENTER key. and the SECOND rule states: When scanning a Code 128 bar code of length 12, send the first four characters, then send the ENTER key, then send all remaining data. and you scan a Code 128 bar code of length 12, the THIRD rule applies and the SECOND rule appears to not function.

Page 237

Advanced Data Formatting

11 - 5

Note that using the standard data editing functions also creates ADF rules. Scan options are entered as ADF rules, and the previous hierarchy also applies to them. For the digital imager scanner, this applies to prefix/suffix programming in the parameter Scan Data Transmission Format on page 4-17. These rules reside in the same “rule list” as ADF rules, so the order of their creation is also important.

Default Rules Every unit has a default rule to send all scan data. Units with custom software can have one or more default rules burned in. The rules hierarchy checks user programmable rules first, then the default rules. Disable default rules by entering the following general rule in the user programmable buffer: When receiving scan data, send all data. Since this rule always applies, ADF never enters the default rules.

ADF Bar Codes Table 11-1 lists the bar codes available through ADF. Table 11-1 ADF Bar Codes

Parameter

Page Number

Special Commands

11-8

Pause Duration

11-8

Begin New Rule

11-8

Save Rule

11-8

Erase

11-9

Quit Entering Rules

11-9

Disable Rule Set

11-10

Criteria

11-11

Code Types

11-11

Code Lengths

11-18

1 Character - 6 Characters

11-18

7 Characters - 13 Characters

11-19

14 Characters - 20 Characters

11-20

21 Characters - 27 Characters

11-21

28 Characters - 30 Characters

11-22

Specific String at Start

11-22

Specific String, Any Location

11-23

Specific String Search

11-23

Page 238

11 - 6

Symbol DS6707 Digital Imager Scanner Product Reference Guide

Table 11-1 ADF Bar Codes (Continued)

Parameter

Page Number

Any Message OK

11-23

Numeric Keypad

11-24

Rule Belongs To Set

11-26

Actions Send Data

11-27 11-27

Send Data Up To Character

11-27

Send Next Character

11-27

Send All Data That Remains

11-27

Send Next 2 Characters - Send Next 20 Characters

11-27

Setup Field(s)

11-30

Move Cursor

11-31

Send Pause

11-32

Skip Ahead

11-33

Skip Back

11-34

Send Preset Value

11-36

Modify Data

11-37

Remove All Spaces

11-37

Crunch All Spaces

11-37

Stop Space Removal

11-37

Remove Leading Zeros

11-37

Stop Zero Removal

11-37

Pad Data with Spaces

11-38

Pad Data with Zeros

11-42

Beeps

11-47

Send Keystroke (Control Characters and Keyboard Characters)

11-47

Keyboard Characters

11-52

Send ALT Characters

11-66

Send Keypad Characters

11-71

Page 239

Advanced Data Formatting

Table 11-1 ADF Bar Codes (Continued)

Parameter Send Function Key

Page Number 11-76

Send F1 Key - Send F24 Key

11-76

Send PF1 Key - Send PF30 Key

11-79

Send Right Control Key

11-83

Send Graphic User Interface (GUI) Characters

11-84

Send GUI 0 - Send GUI 9

11-84

Send GUI A - Send GUI Z

11-85

Turn On/Off Rule Sets

11-89

Alphanumeric Keyboard

11-91

Space - ‘

11-91

0-9

11-95

A-Z

11-96

Cancel

11-100

End of Message

11-100 a-z

11-100

{-~

11-104

11 - 7

Page 240

11 - 8

Symbol DS6707 Digital Imager Scanner Product Reference Guide

Special Commands Pause Duration This parameter, along with the Send Pause parameter on page 11-32, inserts a pause in the data transmission. Set the pause by scanning a two-digit number (i.e., two bar codes) representing a 0.1 second interval. For example, scan bar codes 0 and 1 to insert a 0.1 second pause; 0 and 5 to insert a 0.5 second delay. See Appendix D, Numeric Bar Codes. To correct an error or change a selection, scan Cancel on page D-2.

Pause Duration

Begin New Rule Scan the bar code below to start entering a new rule .

Begin New Rule

Save Rule Scan the bar code below to save the rule.

Save Rule

Page 241

Advanced Data Formatting

Erase Use these bar codes to erase criteria, actions, or rules.

Erase Criteria And Start Again

Erase Actions And Start Again

Erase Previously Saved Rule

Erase All Rules

Quit Entering Rules Scan the bar code below to quit entering rules.

Quit Entering Rules

11 - 9

Page 242

11 - 10

Symbol DS6707 Digital Imager Scanner Product Reference Guide

Disable Rule Set Use these bar codes to disable rule sets.

Disable Rule Set 1

Disable Rule Set 2

Disable Rule Set 3

Disable Rule Set 4

Disable All Rule Sets