LS4208 Product Reference Guide14-4
ADF Bar Code Menu Example
This section provides an example of how ADF rules are entered and used 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 need to 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, follow the steps below:

Rule 1: The Code 128 Scanning Rule

Step Bar Code On Page Beep Indication
1 Begin New Rule 14-7 High High
2 Code 128 14-10 High High
3 Send next 5 characters 14-20 High High
4 Send <CTRL M> 14-39 High High
5 Send next 5 characters 14-20 High High
6 Send <CTRL P> 14-40 High High
7 Send next 2 characters 14-20 High High
8 Send <CTRL D> 14-38 High High
9 Save Rule 14-7 High Low High Low

Rule 2: The UPC Scanning Rule

Step Bar Code On Page Beep Indication
1 Begin New Rule 14-7 High High
2 UPC/EAN 14-12 High High
3 Send all remaining data 14-20 High High
4 Send <CTRL M> 14-39 High High
5 Save Rule 14-7 High Low High Low
If you made any mistakes while entering this rule, scan the Quit Entering Rules bar code on page 14-8. If you already saved the rule,
scan the Erase Previously Saved Rule bar code on page 14-8.