Alternate Rule Sets - Symbol LS4278 Product Reference Manual

Hide thumbs Also See for LS4278:
Table of Contents

Advertisement

Alternate Rule Sets

ADF rules may be grouped into one of four alternate sets which can be turned on and off when needed. This is useful when you want
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)
This bar code might look like this:
245671243701500
where:
Class = 24
Stock Number = 56712437
Price = 01500
Ordinarily you would send this data as follows:
24 (class key)
56712437 (stock key)
01500 (enter key)
But, when there is a sale, you may want to send only the following:
24 (class key)
56712437 (stock key)
and the cashier will key the price manually.
To implement this, you would first enter an ADF rule that applies to the normal situation. This rule may look like this:
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:
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, a "switching rule" must be programmed. This rule specifies what type of bar code must 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, a rule can be entered as follows:
When scanning a bar code of length 1 that begins with "M", select rule set number 1.
Another rule could be programmed to switch back.
When scanning a bar code of length 1 that begins with "N", turn off rule set number 1.
The switching back to normal rules can also be done in the "sale" rule. For example, the rule may look like this:
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.
It is recommended that you scan the
rule set.
In addition to enabling and disabling rule sets within the rules, you can enable or disable them by scanning the appropriate bar codes
beginning on
page
14-9.
Disable All Rule Sets
bar code on page 14-9 after programming a rule belonging to an alternate
Advanced Data Formatting 14-5

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents