Advanced Data Formatting 12 - 3
Rule 1: The Code 128 Scanning Rule
Step Bar Code On Page Beep Indication
1 Begin New Rule 12-5 High High
2 Code 128 12-8 High High
3 Send next 5 characters 12-22 High High
4 Send <CTRL M> 12-44 High High
5 Send next 5 characters 12-22 High High
6 Send <CTRL P> 12-44 High High
7 Send next 2 characters 12-21 High High
8 Send <CTRL D> 12-42 High High
9 Save Rule 12-5 High Low High Low
Rule 2: The UPC Scanning Rule
Step Bar Code On Page Beep Indication
1 Begin New Rule 12-5 High High
2 UPC/EAN 12-9 High High
3 Send all remaining data 12-21 High High
4 Send <CTRL M> 12-44 High High
5 Save Rule 12-5 High Low High Low
To correct any erro rs made while enterin g this rule, scan the Quit Entering Rules bar code on page 12-6. If the rule
is already saved, scan the Erase Previously Saved Rule bar code on page 1 2-6.
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 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 is sent 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)