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 38 of 55

Symbol DS6708 Digital Scanner Product Reference Guide: Advanced Data Formatting, pages 299 to 308

Pages 299 to 308 of 458, from Symbol DS6708 Digital Scanner Product Reference Guide

The original document is the PDF (11 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-6708

Page 299

Chapter 15 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 particular requirements. To implement ADF, scan a related series of bar codes, which begin on page 15-7, or install the 123Scan utility (see Chapter 12, 123Scan) which allows programming the digital 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 Prefix/Suffix Values on page 4-17. 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 did not meet the length criteria. The rule specifies the editing conditions and requirements before data transmission occurs.

Page 300

15 - 2

Symbol DS6708 Digital 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 15-7. • 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 15-10.

• 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 15-26.

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

• To correct any errors, see Erase on page 15-8 to erase criteria, actions, and entire rules. .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 and use 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, see the following steps.

Page 301

Advanced Data Formatting

15 - 3

Rule 1: The Code 128 Scanning Rule Step

Bar Code

On Page

Beep Indication

1

Begin New Rule

15-7

High High

2

Code 128

15-10

High High

3

Send next 5 characters

15-27

High High

4

Send <CTRL M>

15-49

High High

5

Send next 5 characters

15-27

High High

6

Send <CTRL P>

15-49

High High

7

Send next 2 characters

15-26

High High

8

Send <CTRL D>

15-48

High High

9

Save Rule

15-8

High Low High Low

Rule 2: The UPC Scanning Rule Step

Bar Code

On Page

Beep Indication

1

Begin New Rule

15-7

High High

2

UPC/EAN

15-12

High High

3

Send all remaining data

15-26

High High

4

Send <CTRL M>

15-49

High High

5

Save Rule

15-8

High Low High Low

If you make an error while entering this rule, scan the Quit Entering Rules bar code on page 15-8. If you already saved the rule, scan the Erase Previously Saved Rule bar code on page 15-8.

Alternate Rule Sets You can 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 302

15 - 4

Symbol DS6708 Digital 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 scan 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 to normal 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 15-9 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 15-9.

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 303

Advanced Data Formatting

15 - 5

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

Default Rules Every unit has a default rule to send all scan data. Units with custom software may 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 applies the default rules.

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

Parameter

Page Number

Special Commands

15-7

Pause Duration

15-7

Begin New Rule

15-7

Save Rule

15-8

Erase

15-8

Quit Entering Rules

15-8

Disable Rule Set

15-9

Criteria

15-10

Code Types

15-10

Code Lengths

15-17

1 Character - 6 Characters

15-17

7 Characters - 13 Characters

15-18

14 Characters - 20 Characters

15-19

21 Characters - 27 Characters

15-20

28 Characters - 30 Characters

15-21

Specific String at Start

15-21

Specific String, Any Location

15-22

Specific String Search

15-22

Page 304

15 - 6

Symbol DS6708 Digital Scanner Product Reference Guide

Table 15-1 ADF Bar Codes (Continued)

Parameter

Page Number

Any Message OK

15-22

Numeric Keypad

15-23

Rule Belongs To Set

15-25

Actions Send Data

15-26 15-26

Send Data Up To Character

15-26

Send Next Character

15-26

Send All Data That Remains

15-26

Send Next 2 Characters - Send Next 20 Characters

15-26

Move Cursor

15-31

Send Pause

15-32

Skip Ahead

15-33

Skip Back

15-34

Send Preset Value

15-36

Remove All Spaces

15-37

Crunch All Spaces

15-37

Stop Space Removal

15-37

Remove Leading Zeros

15-37

Stop Zero Removal

15-37

Pad Data with Spaces

15-38

Pad Data with Zeros

15-42

Beeps

15-47

Send Keystroke (Control Characters and Keyboard Characters)

15-47

Keyboard Characters

15-52

Send ALT Characters

15-66

Send Keypad Characters

15-71

Send Function Key

15-76

Send F1 Key - Send F24 Key

15-76

Send PF1 Key - Send PF30 Key

15-79

Send Right Control Key

15-83

Page 305

Advanced Data Formatting

15 - 7

Table 15-1 ADF Bar Codes (Continued)

Page Number

Parameter Send Graphic User Interface (GUI) Characters

15-84

Send GUI 0 - Send GUI 9

15-84

Send GUI A - Send GUI Z

15-85

Turn On/Off Rule Sets

15-89

Alphanumeric Keyboard

15-91

Space - ‘

15-91

0-9

15-95

A-Z

15-96

Cancel

15-100

End of Message

15-100 a-z

15-100

{-~

15-104

Special Commands Pause Duration Use this parameter, along with Send Pause on page 15-32, to insert a pause in the data transmission. Set the pause by scanning a two-digit number (i.e., two bar codes) from Appendix D, Numeric Bar Codes representing a 0.1 second in the range of 0.1 to 9.9. For example, scanning bar codes 0 and 1 inserts a 0.1 second pause; 0 and 5 inserts a 0.5 second delay. The default is 1 second. 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

Page 306

15 - 8

Symbol DS6708 Digital Scanner Product Reference Guide

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

Save Rule

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

Page 307

Advanced Data Formatting

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

15 - 9

Page 308

15 - 10

Symbol DS6708 Digital Scanner Product Reference Guide

Criteria Code Types Scan the bar codes for all code to be affected by the rule. Scan the codes in succession, prior to selecting other criteria. To select all code types, do not scan any code type.

Code 39

Codabar

GS1 DataBar-14

GS1 DataBar Limited

GS1 DataBar Expanded

Code 128

D 2 OF 5