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 3 of 64

Symbol Omnidirectional Scanner Advanced Programmer's Guide, pages 21 to 30

Pages 21 to 30 of 632

The original document is the PDF (1.7 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 LS-9100

Page 21

Symbol Omnidirectional Scanners: Advanced Data Formatting

Formatting Magstripe Data (LS 5000/5100/5200) A small department store chain called “the STORE” accepts all major credit cards, and their own credit card. They use a dual track magstripe reader with their Symbol product. The major credit cards follow the standard encoding methods, but the store card is different. The word “STORE” appears in track 1 to identify the store's card. The two tracks of data contain the following information: Track 1: >STORE - Last Name - First Name - Title< Track 2: >Account Number - Social Security Number Exp. Date< A sample store credit card would look like this: Track 1: >STORE - SMITH - JOHN - DR< Track 2: >123456789012 - 111223333-1293< The STORE's point of sale terminal has a “store credit card” key (F5), and a “bank credit card” key (F6). These keys are pressed before the credit card data is sent. If a STORE credit card is read, the following data is sent: [F5] Account Number [ENTER] Last Name, First Name [ENTER] Bank credit cards are sent as follows: [F6] Account Number [ENTER] Customer Name [ENTER]

1-17

Page 22

Symbol Omnidirectional Scanners: Advanced Data Formatting The following rules need to be entered: When dual magstripe data is read, and the data contains “STORE” starting at position 2, send the [F5] key, select track 2, skip ahead 1 character, send all data up to “-”, send the [ENTER] key, Select track 1, skip all data up to “-”, send all data up to “-”, send a comma, send all data up to dash, send [ENTER] key. When dual magstripe data is read, send the [F6] key, send the account number, send the [ENTER] key, send the expiration date, send the [ENTER] key, send the customer's name, send the [ENTER] key. The bank credit card rule was easier to enter because the card uses standard magstripe encoding. The order in which the rules are entered is important. The bank card rule must be entered first, followed by the store credit card rule. This way the store credit rule is checked first. If the store rule fails, the more general bank card rule would apply. If the rules were entered in reverse, the bank rule would always be executed, and the store rule would be ignored.

1-18

Page 23

Symbol Omnidirectional Scanners: Advanced Data Formatting

Rule 3: The Bank Credit Card Rule Step

Bar Code

On Page

Beep Indication

1

Dual Magstripe Reader

2-27

High High

2

Send F6

2-442

High High

3

Send account number

2-127

High High

4

Send Enter Key

2-430

High High

5

Send Exp Date MMYY

2-128

High High

6

Send Enter key

2-430

High High

7

Send Customer's Name

2-130

High High

8

Send Enter key

2-430

High High

9

Save Rule

2-7

High Low High Low

Rule 4: The Store Credit Card Rule Step

Bar Code

On Page

Beep Indication

1

Dual Magstripe Reader

2-27

High High

2

Specific String Any Location

2-84

High Low

3

0

2-536

High Low

4

2

2-538

Low Low

1-19

Page 24

Symbol Omnidirectional Scanners: Advanced Data Formatting

5

S

2-564

Low Low

6

T

2-565

Low Low

7

O

2-560

Low Low

8

R

2-563

Low Low

9

E

2-550

Low Low

10

End of Message

2-573

High High

11

Send F5

2-441

High High

12

Skip ahead 1 character

2-133

High High

13

Send up to character

2-85

Low Low

14

Dash “-”

2-514

High High

15

Send Enter Key

2-430

High High

16

Select Track 1 Data

2-131

High High

17

Move to character

2-86

Low Low

18

Dash “-”

2-514

High High

19

Send up to character

2-85

Low Low

20

Dash “-”

2-514

High High

21

Send Coma “,”

2-265

High High

22

Send up to character

2-85

Low Low

23

Dash “-”

2-514

High High

24

Send Enter Key

2-430

High High

1-20

Page 25

Symbol Omnidirectional Scanners: Advanced Data Formatting

25

Save Rule

2-7

High Low High Low

This very long rule illustrates the ability of ADF to handle non-standard credit card formats. Most ADF users will be writing rules for standard credit cards, as illustrated in Rule 3.

1-21

Page 26

Symbol Omnidirectional Scanners: Advanced Data Formatting

Formatting Serial Data A convenience store has a smart weight scale that transmits the price of an item, followed by the weight and description. The weight is a 6 digit number from 0 to 999.999. The price is a 6 digit number from 0 to 9999.99. The description is 30 characters long. For both weight and price, the decimal point is implied and not sent. Messages from the weight scale may look like the following: “000125001633 “000785002010

Potato Salad” Roast Beef”

The store uses an IBM AT wedge as a host. Data should be sent with the implied decimal points added. The leading zeros should be removed for price, but not weight. Leading spaces should be removed from the description. Tabs should be placed between each field. When data is read from the weight scale, the following data should be sent: 1.25 [tab] 001.633 [tab] Potato Salad [ENTER] 7.85 [tab] 002.010 [tab] Roast Beef [ENTER] The following rules need to be entered: When serial data is received, remove leading zeros, send next 4 characters, send period, stop zero removal, send next 2 characters, send tab key, send next 3 characters, send period, send next 3 characters, send tab, crunch all spaces, send all data that remains, send enter key.

1-22

Page 27

Symbol Omnidirectional Scanners: Advanced Data Formatting

Rule 5: The Deli Weight Scale Rule Step

Bar Code

On Page

Beep Indication

1

Auxiliary Port

2-23

High High

2

Remove leading zeros

2-157

High High

3

Send next 4 characters

2-110

High High

4

Send period

2-267

High High

5

Stop zero removal

2-158

High High

6

Send next 2 characters

2-108

High High

7

Send tab key

2-426

High High

8

Send next 3 characters

2-109

High High

9

Send period

2-267

High High

10

Send next 3 characters

2-109

High High

11

Send tab key

2-426

High High

12

Crunch all spaces

2-156

High High

13

Send all data that remains

2-106

High High

14

Send Enter key

2-430

High High

15

Save Rule

2-7

High Low High Low

1-23

Page 28

Symbol Omnidirectional Scanners: Advanced Data Formatting Rules are limited to approximately 15 action entries, and 15 criteria entries. Most units have enough storage space for up to 20 average sized rules. The previous examples cover the three major sources of input into your Symbol product. It is not necessary to enter a rule for each input. A default rule will send inputted data exactly as it is received. You may have multiple rules for a particular input source. But be aware of the rule entry order. The last rule entered is the first rule checked when scan, magstripe or serial data is read.

1-24

Page 29

Chapter 2 ADF Bar Codes Special Commands Enable Programming

2-3

Erase/Save

2-4 to 2-9

Rule Sets

2-10 to 2-18

Criteria Input Source

2-19 to 2-27

Code Types

2-28 to 2-39

Code Types (LS 5000/5100/5200 Only)

2-40 to 2-52

Code Lengths

2-53 to 2-82

Specific Data String

2-83 to 2-84

Actions Character

2-85 to 2-87

Send Pause

2-88

Send Value

2-89 to 2-94

Beeps

2-95 to 2-97

Turn On/Off Rules

2-98 to 2-105

Send (Characters/Data)

2-106 to 2-132

Skip Ahead/Back

2-133 to 2-153

Spaces & Zeros

2-157 to 2-220

Send Control Characters

2-221 to 2-252

Send Keyboard Characters

2-253 to 2-347

Send Alt Characters

2-348 to 2-379

2-1

Page 30

Symbol Omnidirectional Scanners: ADF Bar Codes Send Special Characters

2-380 to 2-400

Send Keypad Characters

2-401 to 2-417

Send Extended Keyboard Characters

2-418 to 2-436

Send F Keys

2-437 to 2-466

Send PF Keys

2-467 to 2-496

Numeric Keypad

2-497 to 2-507

Alphanumeric Keyboard

2-508 to 2-603

Disable Programming

2-604

2-2