LS 4000 andLS 400Xi Series
Advanced Programmers Guide
270-35834-01Revision B February 2001
Symbol Technologies, Inc. One Symbol Plaza, Holtsville N.Y. 11742-1300
LS 4000 and LS 400Xi Series Advanced Programmers Guide
LS 4000 and 400Xi Series
Advanced Programmers Guide
70-35834-01
Revision B
February 2001
iv
1998 - 2001 by Symbol Technologies, Inc. All rights reserved.
No part of this publication may be reproduced or used in any form, or by any electrical or mechanical means, without permission in writing from Symbol. This includes electronic or mechanical means, such as photocopying, recording, or information storage and retrieval systems. The material in this manual is subject to change without notice.
The software is provided strictly on an as is basis. All software, including firmware, furnished to the user is on a licensed basis. Symbol grants to the user a non-transferable and non-exclusive license to use each software or firmware program delivered hereunder (licensed program). Except as noted below, such license may not be assigned, sublicensed, or otherwise transferred by the user without prior written consent of Symbol. No right to copy a licensed program in whole or in part is granted, except as permitted under copyright law. The user shall not modify, merge, or incorporate any form or portion of a licensed program with other program material, create a derivative work from a licensed program, or use a licensed program in a network without written permission from Symbol. The user agrees to maintain Symbols copyright notice on the licensed programs delivered hereunder, and to include the same on any authorized copies it makes, in whole or in part. The user agrees not to decompile, disassemble, decode, or reverse engineer any licensed program delivered to the user or any portion thereof.
Symbol reserves the right to make changes to any software or product to improve reliability, function, or design.
Symbol does not assume any product liability arising out of, or in connection with, the application or use of any product, circuit, or application described herein.
No license is granted, either expressly or by implication, estoppel, or otherwise under any Symbol Technologies, Inc., intellectual property rights. An implied license only exists for equipment, circuits, and subsystems contained in Symbol products.
Symbol, Spectrum One, and Spectrum24 are registered trademarks of Symbol Technologies, Inc. Other product names mentioned in this manual may be trademarks or registered trademarks of their respective companies and are hereby acknowledged.
Symbol Technologies, Inc.One Symbol PlazaHoltsville, New York 11742-1300http://www.symbol.com
About ThNotational CoRelated PublicService InformSymbol Suppo
Chapter 1Introduction . Rules: CriteriaUsing ADF BaSpecial Comm
Begin NewSave RuleErase . . . Quit EnteDisable R
Criteria . . . . . Code TypCode LenMessage CSpecific SSpecific SAny MessRule Belo
Actions . . . . . Send DataSetup FielModify DPad Data Pad Data Contents
is Manualnventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .virt Center. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
. Advanced Data Formatting
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Linked to Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1r Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2ands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Rule. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2ring Rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3ule Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3es . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3gths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3ontaining A Specific Data String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
tring at Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3tring, Any Location. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3age OK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3ngs To Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4d(s). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4ata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5With Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6With Zeros. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6i
ii
LS 4000 and LS 400Xi Advanced Programmers Guide
Beeps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6Send Keystroke (Control Characters and Keyboard Characters). . . . . . . . . . . . . . . . . . . . . . . . 1-6Turn On/Off Rule Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
ADF Bar Code Menu Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6Rule 1: The Code 128 Scanning Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7Rule 2: The UPC Scanning Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7Alternate Rules HieDefault R
Beeper Definit
Chapter 2Special Comm
Begin NewSave RuleErase . . Quit EnteDisable R
Criteria . . . . Code TypCode LenSpecific DNumeric Rule Belo
Actions . . . . Send DataSetup FielSend PresModify DPad Data Pad Data Beeps . . Control CKeyboardSend ALTSend ComSend SpecSend KeypSend FuncTurn On/
AlphanumericRule Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8rarchy (in Bar Codes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9ules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10ions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
. ADF Bar Codesands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2ring Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2ule Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4es. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4gths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6ata String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10Keypad. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11ngs To Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
ds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16et Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21ata. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22with Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23with Zeros. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31haracters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32 Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-36 Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-48mand Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-52ial Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-54ad Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55tion Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-59
Off Rule Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-65 Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-66
Contents
Appendix A. ASCII Tables and Keyboard LayoutsASCII Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2Keyboard Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8iii
iv
LS 4000 and LS 400Xi Advanced Programmers Guide
The LS 4000information
Notatio
The followin
! LS 4
! LS 4
! Bulle
" a
" li
" li
! Sequnum
! Refe
Related
! LS 4
! LS 4
! LS 4
! LS 4About This Manual
and LS 400Xi Advanced Programmers Guide provides programming and bar codes for the LS 4000 and LS 400Xi series scanners.
nal Conventions
g conventions are used in this document:
000 refers to the LS 4000 series of scanners
00Xi refers to both the LS 4004i and the LS 4005i, unless specifically noted
ts () indicate:
ction items
sts of alternatives
sts of required steps that are not necessarily sequential.
ential lists (e.g., those that describe step-by-step procedures) appear as bered lists
rences to other sections, chapters, or manuals appear in italics.
Publications
00Xi Product Reference Guide, p/n 70-37898-xx
00Xi Quick Reference Guide, p/n 70-33849-xx
000 Series Product Reference Guide, p/n 70-16171-xx
000 Series Quick Reference Guide, p/n 70-16423-xx.v
vi
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Service Information
If you have a problem with your equipment, contact the Symbol Support Center for your region. See below for contact information. Before calling, have the model number, serial number, and several of your bar code symbols at hand.
Call the Suppcan try to taland the probcodes for ana
If your problservicing. If t
Note
Symbol
In the U.S.A.
If you purchaPartner for se
SYCE1-8
CaMiCa(90ort Center from a phone near the scanning equipment so that the service person k you through your problem. If the equipment is found to be working properly lem is symbol readability, the Support Center will request samples of your bar lysis at our plant.
em cannot be solved over the phone, you may need to return your equipment for hat is necessary, you will be given specific directions.
: Symbol Technologies is not responsible for any damages incurred during shipment if the approved shipping container is not used. Shipping the units improperly can possibly void the warranty. If the original shipping container was not kept, contact Symbol to have another sent to you.
Support Center
, for service information, warranty information or technical assistance, call:
sed your Symbol product from a Symbol Business Partner, contact that Business rvice.
MBOL SUPPORT NTER00-653-5350
Europe/Mid-East Distributor OperationsContact your local distributor or call+44 118 945 7360
nadassissauga, Ontarionadian Headquarters5) 629-7226
AsiaSingaporeSymbol Technologies Asia, Inc.337-6588 (Inside Singapore)+65-337-6588 (Outside Singapore)
About This Manual
Warranty
Symbol Technologies, Inc (Symbol) manufactures its hardware products in accordance with industry-standard practices. Symbol warrants that for a period of twelve (12) months from date of shipment, products will be free from defects in materials and workmanship. This warrantynot apply to anwhich has notSymbol, (iii) wshortage, neglioperating and covered underWear items anserialized item
WarrantyDuring the wamanufacturingat 1-800-653-5If warranty semust be shippeSymbol will shShipments fromSymbol will usproducts. Custto Symbol witcharges will beCustomer acceRepair or replSymbols Custsupport, that cat a substantia
GeneralExcept for the furnished herea particular puSymbol for daout of or in covii
is provided to the original owner only and is not transferable to any third party. It shall y product (i) which has been repaired or altered unless done or approved by Symbol, (ii)
been maintained in accordance with any operating or handling instructions supplied by hich has been subjected to unusual physical or electrical stress, misuse, abuse, power gence or accident or (iv) which has been used other than in accordance with the product handling instructions. Preventive maintenance is the responsibility of customer and is not this warranty. d accessories having a Symbol serial number, will carry a 90-day limited warranty. Non-s will carry a 30-day limited warranty.
Coverage and Procedurerranty period, Symbol will repair or replace defective products returned to Symbols plant in the US. For warranty service in North America, call the Symbol Support Center 350. International customers should contact the local Symbol office or support center.
rvice is required, Symbol will issue a Return Material Authorization Number. Products d in the original or comparable packaging, shipping and insurance charges prepaid. ip the repaired or replacement product freight and insurance prepaid in North America. the US or other locations will be made F.O.B. Symbols manufacturing plant.
e new or refurbished parts at its discretion and will own all parts removed from repaired omer will pay for the replacement product in case it does not return the replaced product hin 3 days of receipt of the replacement product. The process for return and customers in accordance with Symbols Exchange Policy in effect at the time of the exchange. pts full responsibility for its software and data including the appropriate backup thereof. acement of a product during warranty will not extend the original warranty term. omer Service organization offers an array of service plans, such as on-site, depot, or phone an be implemented to meet customers special operational requirements and are available l discount during warranty period.
warranties stated above, Symbol disclaims all warranties, express or implied, on products under, including without limitation implied warranties of merchantability and fitness for rpose. The stated express warranties are in lieu of all obligations or liabilities on part of mages, including without limitation, special, indirect, or consequential damages arising nnection with the use or performance of the product.
viii
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Sellers liability for damages to buyer or others resulting from the use of any product, shall in no way exceed the purchase price of said product, except in instances of injury to persons or property. Some states (or jurisdictions) do not allow the exclusion or limitation of incidental or consequential damages, so the proceeding exclusion or limitation may not apply to you.
Introdu
Advanced Dahost device. S
ADF can be iChapter 2, A
Rules: C
In ADF, datameets certainmultiple actio
For instance,
Criteria:
Actions:
If a Code 3900001299. If a Code 39 bar code of 1299X15598 is scanned, this rule is ignored.
ifies the editing conditions and requirements before data transmission occurs.1-1
1-2
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Using ADF Bar Codes
When you program a rule, make sure the rule is logically correct. Plan ahead before you start scanning.
To program e
! Start
! Crite(e.g.the d
! ActiospecActio
! Savetop
! If yousefuPrev
Criteria, actipage 2-2).
Beeper Defin
Special
Begin NeScan this bar
Save RuleScan this bar
EraseUse these barach data formatting rule:
the Rule. Scan the BEGIN NEW RULE bar code on page 2-1.
ria. Scan the bar codes for all pertinent criteria. Criteria can include code type , Code 128), code length, or data that contains a specific character string (e.g., igits 129). These options are described in Criteria on page 1-3.
ns. Scan all actions related to, or affecting, these criteria. The actions of a rule ify how to format the data for transmission. These options are described in ns on page 1-4.
the Rule. Scan the SAVE RULE bar code on page 2-1. This places the rule in the position in the rule buffer.
u make errors during this process, some special-purpose bar codes may be l: Erase Criteria and Start Again, Erase Actions and Start Again, Erase
iously Saved Rule, etc.
ons, and entire rules may be erased by scanning the appropriate bar code (see
itions on page 1-11 help guide you through the programming steps.
Commands
w Rule code first when programming a data formatting rule.
code to complete a data formatting rule.
codes to erase criteria, actions, and rules.
Advanced Data Formatting
Quit Entering RulesScan this bar code to quit entering rules.
Disable Rule SetThese bar co
Criteria
Code TypSelect any nusuccession, pbe affected.
Code LenDefine the nucode length,
Message Select whetheor contains a
Specific SScan this bar(up to a total
Specific SScan this barrepresenting or charactersthe END OF
Any MessBy not scanncontained. 1-3
des allow you to disable particular rule sets.
esmber of code types to be affected. All selected codes must be scanned in rior to selecting other criteria. If you don't select a code type, all code types will
gthsmber of characters the selected code type must contain. If you don't select a
selected code types of any length will be affected.
Containing A Specific Data Stringr the formatting affects data that begins with a specific character or data string, specific character or data string.
tring at Start code, then scan the bar codes representing the desired character or characters of 8) in the Alphanumeric Keyboard on page 2-66.
tring, Any Location code, then, using the Numeric Keypad on page 2-11, scan a two-digit number the position (use a leading zero if necessary). Then scan the desired character (up to a total of 8) on the Alphanumeric Keyboard on page 2-66, followed by MESSAGE bar code on page 2-72.
age OK ing any bar code, all selected code types are formatted, regardless of information
1-4
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Rule Belongs To SetSelect the set a rule belongs to.
Actions
Select how to
Send DatSend all dataAlphanumeriselected from
Setup FieDefine fields
Move CurScan the MOASCII characthe position atries the next
Move CurScan this bar
Move CurThis parametthe MOVE Cfrom the Alphas no effect
Skip AheaScan one of tcursor. format the data for transmission.
a that remains, send all data up to a specific character selected from the c Keyboard, or send the next N characters. N = any number from 1 to 254, the Alphanumeric Keyboard.
ld(s) as follows:
sor To a Character VE CURSOR TO CHARACTER bar code on page 2-16, then any printable ter from the Alphanumeric Keyboard. When this is used, the cursor moves to fter the matching character. If the character is not there, the rule fails and ADF rule.
sor to Start of Data code to move cursor to the beginning of the data.
sor Past a Character er moves the cursor past all sequential occurrences of a selected character. Scan URSOR PAST CHARACTER bar code on page 2-16, then select a character
hanumeric Keyboard. If the character is not there, the cursor does not move (i.e., ).
d N Characters hese bar codes to select the number of positions ahead you wish to move the
Advanced Data Formatting
Skip Back N Characters Scan one of these bar codes to select the number of positions back you wish to move the cursor.
Send Preset Value Send Values 1the prefix/suf
Value 1 =
Value 2 =
Modify DModify data follow it withpadding, senunaffected byValue option
Remove ATo remove al
Crunch ATo leave one trailing space
Stop SpacScan this bar
Remove LScan this bar
Stop ZeroScan this bar1-5
through 6 by scanning the appropriate bar code. These values must be set using fix values in Table A-1 on page A-2.
Scan Suffix
Scan Prefix
ata in the ways listed. The following actions work for all send commands that in a rule. If you program pad zeros to length 6, send next 3 characters, stop
d next 5 characters, three zeros are added to the first send, and the next send is the padding. These options do not apply to the Send Keystroke or Send Preset
s.
ll Spaces l spaces in the send commands that follow, scan this bar code.
ll Spaces space between words, scan this bar code. This also removes all leading and s.
e Removal code to disable space removal.
eading Zeros code to remove all leading zeros.
Removal code to disable the removal of zeros.
1-6
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Pad Data With Spaces To pad data to the left, scan the bar code containing the desired number of spaces. This parameter is activated by Send commands.
Pad DataTo pad data parameter is
BeepsSelect a beep
Send KeyScan the Sen
Turn On/Use these bar
ADF Ba
This section
An auto partdestination cproducts thacodes have th
MMMM
Where:
The distribut, UPC data is With Zeros to the left, scan the bar code containing the desired number of zeros. This activated by Send commands.
sequence for each ADF rule.
stroke (Control Characters and Keyboard Characters)d __ bar code for the keystroke you wish to send.
Off Rule Sets codes to turn rule sets on and off.
r Code Menu Example
provides an example of how ADF rules are entered and used for scan data.
s distribution center wants to encode manufacturer ID, part number, and ode into their own Code 128 bar codes. The distribution center also has t carry UPC bar codes, placed there by the manufacturer. The Code 128 bar e following format:
MPPPPPDD
M = Manufacturer ID
P = Part Number
D = Destination Code
ion center uses a PC with dedicated control characters for manufacturer ID part number , and destination code . At this center the treated as manufacturer ID code.
Advanced Data Formatting
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 , send the next 5 characters, send the part number key , send the next 2 characters, send the destination code key .
When sc.
e rules, follow the steps below:
he Code 128 Scanning Rule Bar Code On Page Beep Indication
Begin New Rule 2-1 High High
Code 128 2-4 High High
Send next 5 characters 2-13 High High
Send 2-33 High High
Send next 5 characters 2-13 High High
Send 2-34 High High
Send next 2 characters 2-13 High High
Send 2-32 High High
Save Rule 2-1 High Low High Low
he UPC Scanning Rule Bar Code On Page Beep Indication
Begin New Rule 2-1 High High
UPC/EAN 2-4 High High
Send all remaining data 2-13 High High
Send 2-33 High High
Save Rule 2-1 High Low High Low
any mistakes while entering this rule, scan the QUIT ENTERING RULES bar 2-2. If you already saved the rule, scan the ERASE PREVIOUSLY SAVED RULE page 2-2.
1-8
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Alternate Rule SetsADF 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
This bar cod
2456712
where:
Class = 2
Stock Nu
Price = 0
Ordinarily yo
24 (class
5671243
01500 (e
But, when th
24 (class
5671243
and the cashi
To implemenThis rule ma
When scsend the key.
The sale ru
When scsend the
To switch bespecifies whadigits), Stock Number (8) digits, Price (5 digits)
e might look like this:
43701500
4
mber = 56712437
1500
u would send this data as follows:
key)
7 (stock key)
nter key)
ere is a sale, you may want to send only the following:
key)
7 (stock key)
er will key the price manually.
t this, you would first enter an ADF rule that applies to the normal situation. y look like this:
anning a bar code of length 15, send the next 2 characters, send the class key, next 8 characters, send the stock key, send the data that remains, send the Enter
le may look like this:
anning a bar code of length 15, send the next 2 characters, send the class key, next 8 characters, send the stock key.
tween the two sets of rules, a switching rule must be programmed. This rule t type of bar code must be scanned to switch between the rule sets. For example,
Advanced Data Formatting
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 sc
The switchinmay look lik
When scsend the
It is recommeprogramming
In addition toby scanning
Rules HieThe order ofprogrammed
All programmtop of a ru
Third Ru
Second R
First Rul
When data ismatches (andspecified by tlast one prog
For example
When sc
And the SEC
When scsend the 1-9
anning a bar code of length 1 that begins with N, turn off rule set number 1.
g back to normal rules can also be done in the sale rule. For example, the rule e this:
anning a bar code of length 15, send the next 2 characters, send the class key, next 8 characters, send the stock key, turn off rule set 1.
nded that you scan the DISABLE ALL RULE SETS bar code on page 2-3 after a rule belonging to an alternate rule set.
enabling and disabling rule sets within the rules, you can enable or disable them the appropriate bar codes on 2-3.
rarchy (in Bar Codes) programming individual rules is important.The most general rule should be last.
ed rules are stored in a buffer. As they are programmed, they are stored at the les list. If three rules have been created, the list would be configured as follows:
le
ule
e
scanned, the rules list is checked from top to bottom to determine if the criteria therefore, if the actions should occur). Input is modified into the data format he first matching set of criteria it finds. Be sure that your most general rule is the rammed.
, if the THIRD rule states:
anning a bar code of any length, send all data, then send the ENTER key.
OND rule states:
anning a Code 128 bar code of length 12, send the first four characters, then ENTER key, then send all remaining data.
1-10
LS 4000 and LS 400Xi Series Advanced Programmers Guide
If a Code 128 bar code of length 12 were scanned, the THIRD rule would be in effect. The SECOND rule would appear to not function.
Note also that ADF rules are actually created when you use the standard data editing functions. Scan options are entered as ADF rules, and the hierarchy mentioned above also applies to them. For the LS 4800, this applies to prefix/suffix programming in the parameter Scan Data Tr
These rules rimportant.
Default REvery unit haor more defathen the defathe user prog
When re
Since this rulansmission Format.
eside in the same rule list as ADF Rules, so the order of their creation is also
uless a default rule to send all scan data. Units with custom software may have one ult rules burned in. The rules hierarchy checks user programmable rules first, ult rules. Default rules can be disabled by entering the following general rule in rammable buffer:
ceiving scan data, send all data.
e always applies, ADF will never go into the default rules.
Advanced Data Formatting
Beeper Definitions
The following table defines beep sequences which occur during data entry.
Table 1-1. Beeper Definitions
Norm
Beepe
High-
Low-L
High-
High-
High-
Low
Low-H
Error
Beepe
Low-H
Low-H
Low-H1-11
al Data Entry. Duration of tones are short.
r Sequence Indication
Low Entry of a number is expected. Enter another digit. Add leading zeros to the front if necessary.
ow Entry of an alphabetic character is expected. Enter another character or scan the End of Message bar code.
High Entry of Criterion/Action is expected. Enter another criterion or action, or scan the Save Rule bar code.
Low-High-Low Rule saved. Rule entry mode exited.
Low-Low All criteria or actions were cleared for rule currently being entered; continue entry of rule.
Last saved rule was successfully deleted. The rule presently being entered is left intact.
igh-High All rules are now deleted. The rule presently being entered is left intact. (This beep sequence has a different meaning outside of ADF.)
Indications. Duration of tones are very long.
r Sequence Indication
igh-Low-High Out of rule memory. Erase some existing rules, then try to save rule again. (The current rule need not be re-entered.)
igh-Low Cancel rule entry. Rule entry mode exited because of an error or the user asked to exit rule entry.
igh Entry error, wrong bar code scanned. Re-enter criterion or action. All previously entered criteria and actions are retained. Criteria or action list is too long for a rule.
1-12
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Special
Begin NeScan this bar
Save RuleScan this barChapter 2 ADF Bar Codes
Commands
w Rule code to start entering a new rule.
code to save the rule you entered.
BEGIN NEW RULE
SAVE RULE2-1
2-2
LS 4000 and LS 400Xi Series Advanced Programmers Guide
EraseUse these bar codes to erase criteria, actions, or rules.
Quit EnteScan this bar
ERASE CAND S
AGA
ERASE PRESAVEDring Rules code to quit entering rules.
RITERIA TART IN
ERASE ACTIONS AND START
AGAIN
VIOUSLY RULE ERASE ALL RULES
QUIT ENTERING RULES
ADF Bar Codes
Disable Rule SetUse these bar codes to disable rule sets.
DISABLE
DISABLE2-3
RULE SET 1 DISABLE RULE SET 2
DISABLE RULE SET 4 RULE SET 3
DISABLE ALL RULE SETS
2-4
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Criteria
Code Types Scan the bar codes for all code types desired before selecting other criteria.
CODE 39 CODABAR
CODE 128
I 2 OF 5
UPC-A
D 2 OF 5
UPC-E EAN-8
IATA 2 OF 5
CODE 93
ADF Bar Codes
Code Types (Contd)2-5
EAN-13
PDF417
EAN 128
MSI PLESSEY
UPC-E1
BOOKLAND TRIOPTIC
Scan the bar code below only if you are using an LS 400Xi scanner which supports PDF417.
2-6
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Code Lengths Scan these bar codes to define the number of characters the selected code types must contain. Select one length per rule only.
Note: This is not a keypad.
1 2
43
5
7 8
6
ADF Bar Codes
Code Lengths (Contd)2-7
9 10
1211
13
15 16
14
2-8
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Code Lengths (Contd)17 18
2019
21
23 24
22
ADF Bar Codes
Code Lengths (Contd)2-9
25 26
2827
29 30
2-10
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Specific Data StringAfter scanning the following bar code:
1. Enter a string using the Alphanumeric Keyboard beginning on page 2-66.
2. Scan END OF MESSAGE on page 2-72.
After scannin
1. Ente
2. Ente
3. Scang the following bar code:
r a location using the Numeric Keypad on page 2-11.
r a string using the Alphanumeric Keyboard beginning on page 2-66.
END OF MESSAGE on page 2-72.
SPECIFIC STRING AT START
SPECIFIC STRING ANY LOCATION
ADF Bar Codes
Numeric KeypadBar codes on this page should not be confused with those on the alphanumeric keyboard.
0
2
4
6
82-11
1
3
5
7
9
CANCEL
2-12
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Rule Belongs To SetScan a bar code below to select which set a rule belongs to.
RULE BELO
RULE BELONGS TO SET 3
NGS TO SET 1 RULE BELONGS TO SET 2
RULE BELONGS TO SET 4
ADF Bar Codes
Actions
Send DataUse these bar
SEND ALLREM
SEN2 CHA
SEN4 CHA
SEN6 CHA2-13
codes to send data.
DATA THAT AINS
SEND NEXT CHARACTER
SEND NEXT 3 CHARACTERS
D NEXT RACTERS
D NEXT RACTERS
SEND NEXT 5 CHARACTERS
SEND NEXT 7 CHARACTERS
D NEXT RACTERS
SEND DATA UP TOCHARACTER
2-14
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send Data (Contd)
SENCH
SE10 C
SE12 C
SE14 C
SE16 CHD NEXT 8ARACTERS
SEND NEXT 9 CHARACTERS
SEND NEXT 11 CHARACTERS
ND NEXT HARACTERS
ND NEXT HARACTERS
SEND NEXT 13 CHARACTERS
SEND NEXT 15 CHARACTERS
ND NEXT HARACTERS
ND NEXT ARACTERS
SEND NEXT 17 CHARACTERS
ADF Bar Codes
Send Data (Contd)
SEND18 CHA
S50 C
SE150 C2-15
SEND NEXT 19 CHARACTERS
NEXT RACTERS
SEND NEXT 20 CHARACTERS
END NEXT HARACTERS
SEND NEXT 100 CHARACTERS
ND NEXT HARACTERS
SEND NEXT 200 CHARACTERS
SEND NEXT 250 CHARACTERS
Scan the bar codes below only if you are using an LS 400Xi scanner which supports PDF417.
2-16
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Setup FieldsScan a bar code below to move the cursor in relation to a specified character. Then enter a character by scanning a bar code from the Alphanumeric Keyboard beginning on page 2-66.
Note
MOVE CCHAR
MOVE CCHA: If there is no match when the rule is interpreted and the rule fails, the next rule is checked.
URSOR TOACTER
URSOR PASTRACTER
MOVE CURSOR TO START
SEND PAUSE
ADF Bar Codes
Skip AheadUse the following bar codes to skip ahead characters.
SKIP1 CHA
SKIP3 CHA
SKIP5 CHA
SKIP7 CHA2-17
SKIP AHEAD 2 CHARACTERS
SKIP AHEAD 4 CHARACTERS
AHEAD RACTER
AHEAD RACTERS
AHEAD RACTERS
SKIP AHEAD 6 CHARACTERS
SKIP AHEAD 8 CHARACTERS
AHEAD RACTERS
2-18
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Skip Ahead (Contd)
SK9 CH
SK50 C
SK150 CIP AHEAD ARACTERS
SKIP AHEAD 10 CHARACTERS
IP AHEAD HARACTERS
IP AHEAD HARACTERS
SKIP AHEAD 100 CHARACTERS
SKIP AHEAD 200 CHARACTERS
SKIP AHEAD 250 CHARACTERS
Scan the bar codes below only if you are using an LS 400Xi scanner which supports PDF417.
ADF Bar Codes
Skip Back Use the following bar codes to skip back characters.
SKI1 CHA
SKI3 CHA
SKI5 CHA
SKI7 CHA2-19
P BACKRACTERS
P BACK RACTERS
SKIP BACK 2 CHARACTERS
SKIP BACK 4 CHARACTERS
SKIP BACK 6 CHARACTERS
P BACK RACTERS
P BACK RACTER
SKIP BACK 8 CHARACTERS
2-20
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Skip Back (Continued)
S9 CH
S50 C
S150 CKIP BACK ARACTERS
SKIP BACK 10 CHARACTERS
KIP BACK HARACTERS
KIP BACK HARACTERS
SKIP BACK 100 CHARACTERS
SKIP BACK 200 CHARACTERS
SKIP BACK 250 CHARACTERS
Scan the bar codes below only if you are using an LS 400Xi scanner which supports PDF417.
ADF Bar Codes
Send Preset ValueUse these bar codes to send preset values.
SEN
SEN
SEN2-21
SEND VALUE 2D VALUE 1
SEND VALUE 6
SEND VALUE 4D VALUE 3
D VALUE 5
2-22
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Modify DataUse the bar codes below to modify data.
REMOVE A
STOP SPACLL SPACES CRUNCH ALL SPACES
REMOVE LEADINGZEROS
E REMOVAL
STOP ZERO REMOVAL
ADF Bar Codes
Pad Data with SpacesUse these bar codes to pad data with spaces.
PAD SLEN
PAD SLEN
PAD SLEN
PAD SLEN2-23
PACES TOGTH 1
PAD SPACES TOLENGTH 2
PAD SPACES TOLENGTH 4
PACES TOGTH 3
PACES TOGTH 5
PAD SPACES TOLENGTH 6
PAD SPACES TOLENGTH 8
PACES TOGTH 7
2-24
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Pad Data with Spaces (Contd)
PADL
PADL
PADL
PADL SPACES TOENGTH 9
PAD SPACES TOLENGTH 10
PAD SPACES TOLENGTH 12
SPACES TOENGTH 11
SPACES TOENGTH 13
PAD SPACES TOLENGTH 14
PAD SPACES TOLENGTH 16
SPACES TOENGTH 15
ADF Bar Codes
Pad Data with Spaces (Contd)
PAD SPLEN
PAD SPLEN
PAD SPLEN
PAD SPLEN2-25
ACES TOGTH 17
PAD SPACES TOLENGTH 18
PAD SPACES TOLENGTH 20
ACES TOGTH 19
ACES TOGTH 21
PAD SPACES TOLENGTH 22
PAD SPACES TOLENGTH 24
ACES TOGTH 23
2-26
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Pad Data with Spaces (Continued)
PADLE
PADLE
PADLE SPACES TONGTH 25
PAD SPACES TOLENGTH 26
PAD SPACES TOLENGTH 28
SPACES TONGTH 27
SPACES TONGTH 29
PAD SPACES TOLENGTH 30
STOP PAD SPACES
ADF Bar Codes
Pad Data with ZerosUse these bar codes to pad data with zeros.
PAD ZLEN
PAD ZLEN
PAD ZLEN
PAD ZLEN2-27
EROS TOGTH 1
PAD ZEROS TOLENGTH 2
PAD ZEROS TOLENGTH 4
EROS TOGTH 3
EROS TOGTH 5
PAD ZEROS TOLENGTH 6
PAD ZEROS TOLENGTH 8
EROS TOGTH 7
2-28
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Pad Data With Zeros (Contd)
PADLE
PADL
PADL
PAL ZEROS TONGTH 9
PAD ZEROS TOLENGTH 10
PAD ZEROS TOLENGTH 12
ZEROS TOENGTH 11
ZEROS TOENGTH 13
PAD ZEROS TOLENGTH 14
D ZEROS TOENGTH 15
PAD ZEROS TOLENGTH 16
ADF Bar Codes
Pad Data With Zeros (Contd)
PAD LEN
PAD LEN
PAD LEN
PAD LEN2-29
ZEROS TOGTH 17
ZEROS TOGTH 19
PAD ZEROS TOLENGTH 18
PAD ZEROS TOLENGTH 20
ZEROS TOGTH 21
ZEROS TOGTH 23
PAD ZEROS TOLENGTH 22
PAD ZEROS TOLENGTH 24
2-30
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Pad Data With Zeros (Contd)
PADL
PADL
PADL ZEROS TOENGTH 25
ZEROS TOENGTH 27
PAD ZEROS TOLENGTH 26
PAD ZEROS TOLENGTH 28
ZEROS TOENGTH 29
STOP PAD ZEROS
PAD ZEROS TOLENGTH 30
ADF Bar Codes
BeepsSelect one beep sequence per ADF rule.2-31
BEEP ONCE
BEEP TWICE
BEEP THREE TIMES
2-32
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Control CharactersScan these bar codes to send control characters.
SEND C
SEND C
SEND C
SEND CONTROL 2 SEND CONTROL A
SEND CONTROL CONTROL B
ONTROL D SEND CONTROL E
SEND CONTROL GONTROL F
ADF Bar Codes
Control Characters (Contd)
SEND
SEND
SEND
SEND2-33
CONTROL H SEND CONTROL I
SEND CONTROL K CONTROL J
CONTROL L SEND CONTROL M
SEND CONTROL O CONTROL N
2-34
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Control Characters (Contd)
SEND C
SEND C
SEND C
SEND CONTROL P SEND CONTROL Q
SEND CONTROL SONTROL R
ONTROL T SEND CONTROL U
SEND CONTROL WONTROL V
ADF Bar Codes
Control Characters (Contd)
SEND
SEND
SEN
SEND2-35
CONTROL X SEND CONTROL Y
SEND CONTROL [ CONTROL Z
D CONTROL \ SEND CONTROL ]
SEND CONTROL - CONTROL 6
2-36
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Keyboard CharactersUse these bar codes to send keyboard characters.
SEND
SE
SE
SE SPACE SEND !
SEND #ND
ND $ SEND %
SEND ND &
ADF Bar Codes
Keyboard Characters (Contd)2-37
SEND ( SEND )
SEND +SEND *
SEND , SEND -
SEND /SEND .
2-38
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Keyboard Characters (Contd)
SE
SE
SE
SEND 0 SEND 1
SEND 3ND 2
ND 4 SEND 5
SEND 7ND 6
ADF Bar Codes
Keyboard Characters (Contd)2-39
SEND 8 SEND 9
SEND ;SEND :
SEND < SEND =
SEND ?SEND >
2-40
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Keyboard Characters (Contd)
SE
SE
SE
SEND @ SEND A
SEND CND B
ND D SEND E
SEND GND F
ADF Bar Codes
Keyboard Characters (Contd)2-41
SEND H SEND I
SEND KSEND J
SEND L SEND M
SEND OSEND N
2-42
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Keyboard Characters (Contd)
SE
SE
SE
SEND P SEND Q
SEND SND R
ND T SEND U
SEND WND V
ADF Bar Codes
Keyboard Characters (Contd)2-43
SEND X SEND Y
SEND [SEND Z
SEND \ SEND ]
SEND _SEND ^
2-44
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Keyboard Characters (Contd)
SE
SE
SE
SEND SEND a
SEND cND b
ND d SEND e
SEND gND f
ADF Bar Codes
Keyboard Characters (Contd)2-45
SEND h SEND i
SEND kSEND j
SEND l SEND m
SEND oSEND n
2-46
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Keyboard Characters (Contd)
SE
SE
SE
SEND p SEND q
SEND sND r
ND t SEND u
SEND wND v
ADF Bar Codes
Keyboard Characters (Contd)2-47
SEND x SEND y
SEND {SEND z
SEND | SEND }
SEND ~
2-48
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send ALT Characters
SEN
SEN
SEN
SEND ALT 2 SEND ALT A
SEND ALT CD ALT B
D ALT D SEND ALT E
SEND ALT GD ALT F
ADF Bar Codes
Send ALT Characters (Contd)
S
S
S
S2-49
END ALT H SEND ALT I
SEND ALT KEND ALT J
END ALT L SEND ALT M
SEND ALT OEND ALT N
2-50
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send ALT Characters (Contd)
SEN
SEN
SEN
SEND ALT P SEND ALT Q
SEND ALT SD ALT R
D ALT T SEND ALT U
SEND ALT WD ALT V
ADF Bar Codes
Send ALT Characters (Contd)
S
S
S
S2-51
END ALT X SEND ALT Y
SEND ALT [END ALT Z
END ALT \ SEND ALT ]
SEND ALT -END ALT 6
2-52
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send Command Characters
SE
SE
SEND PA 1 SEND PA 2
SEND CMD 2ND CMD 1
ND CMD 3 SEND CMD 4
ADF Bar Codes
Send Command Characters (Contd)
SE
S
SEN2-53
ND CMD 7 SEND CMD 8
SEND CMD 10END CMD 9
D CMD 5 SEND CMD 6
2-54
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send Special Characters
SECH
SENDCH
SCND BULLETARACTER
SEND 1/2CHARACTER
SEND SECTIONCHARACTER
PARAGRAPHARACTER
SEND VERTICALCHARACTER
END BOMBHARACTER
SEND HOOKCHARACTER
SEND YEN CHARACTER
SEND POUND STERLING CHARACTER
ADF Bar Codes
Send Keypad Characters
SE
SE
SE
SE
SE2-55
ND KEYPAD * SEND KEYPAD +
SEND KEYPAD .ND KEYPAD -
ND KEYPAD / SEND KEYPAD 0
SEND KEYPAD 2ND KEYPAD 1
SEND KEYPAD 4ND KEYPAD 3
2-56
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send Keypad Characters (Contd)
SEN
SEN
SEN
SEND KEYPAD 5 SEND KEYPAD 6
SEND KEYPAD 8D KEYPAD 7
D KEYPAD 9 SEND KEYPAD ENTER
ND KEYPADUM LOCK
ADF Bar Codes
Send Keypad Characters (Contd)
SEND
SEND P
SEND P
SEND S
SEND2-57
BREAK KEY SEND DELETE KEY
SEND END KEYAGE UP KEY
AGE DOWN KEY
SEND PAUSE KEY
SEND BACKSPACE KEY
CROLL LOCK KEY
SEND PRINT SCREEN KEY
TAB KEY
2-58
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send Keypad Characters (Contd)
SEN
SEN
SEND
SEND
SENCD INSERT KEY
D ENTER KEY
UP ARROW KEY
LEFT ARROW KEY
D BACK TABHARACTER
SEND HOME KEY
SEND ESCAPE KEY
SEND DOWN ARROW KEY
SEND RIGHT ARROW KEY
ADF Bar Codes
Send Function Key
SEN
SEN
SEN
SEN
SEN2-59
D F1 KEY SEND F2 KEY
SEND F4 KEYD F3 KEY
D F5 KEY SEND F6 KEY
SEND F8 KEYD F7 KEY
SEND F10 KEYD F9 KEY
2-60
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send Function Key (Contd)
SE
SE
SE
SE
SEND F11 KEY SEND F12 KEY
SEND F14 KEYND F13 KEY
ND F15 KEY SEND F16 KEY
SEND F18 KEYND F17 KEY
SEND F20 KEYND F19 KEY
ADF Bar Codes
Send Function Key (Contd)
SE
SE
SE
SE
SE2-61
ND F21 KEY SEND F22 KEY
SEND F24 KEYND F23 KEY
ND F25 KEY SEND F26 KEY
SEND F28 KEYND F27 KEY
SEND F30 KEYND F29 KEY
2-62
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send Function Key (Contd)
SEN
SEN
SEN
SEN
SEND PF1 KEY SEND PF2 KEY
SEND PF4 KEYD PF3 KEY
D PF5 KEY SEND PF6 KEY
SEND PF8 KEYD PF7 KEY
SEND PF10 KEYD PF9 KEY
ADF Bar Codes
Send Function Key (Contd)
SE
SE
SE
SE
SE2-63
ND PF11 KEY SEND PF12 KEY
SEND PF14 KEYND PF13 KEY
ND PF15 KEY SEND PF16 KEY
SEND PF18 KEYND PF17 KEY
SEND PF20 KEYND PF19 KEY
2-64
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Send Function Key (Contd)
SE
SE
SE
SE
SEND PF21 KEY SEND PF22 KEY
SEND PF24 KEYND PF23 KEY
ND PF25 KEY SEND PF26 KEY
SEND PF28 KEYND PF27 KEY
SEND PF30 KEYND PF29 KEY
ADF Bar Codes
Turn On/Off Rule SetUse these bar codes to turn rule sets on and off.
TURN ON
TURN ON
TURN OF
TURN OF2-65
RULE SET 1 TURN ON RULE SET 2
TURN ON RULE SET 4 RULE SET 3
F RULE SET 1 TURN OFF RULE SET 2
TURN OFF RULE SET 4F RULE SET 3
2-66
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Alphanumeric Keyboard
SPAC
$
*
-
/E #
%
+
.
!
ADF Bar Codes
Alphanumeric Keyboard (Continued)
)
;
=2-67
&
(
:
2-68
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Alphanumeric Keyboard (Continued)
?
[
]
_@
\
^
`
ADF Bar Codes
Alphanumeric Keyboard (Continued)
Bar codes on this page should not be confused with those on the numeric keypad.
0
2
4
6
82-69
1
3
5
7
9
2-70
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Alphanumeric Keyboard (Continued)
A
C
E
G
IB
D
F
H
J
ADF Bar Codes
Alphanumeric Keyboard (Continued)
K
M
O
Q
S2-71
L
N
P
R
T
2-72
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Alphanumeric Keyboard (Continued)
U
W
Y
CANCEV
X
Z
END OF MESSAGEL
ADF Bar Codes
Alphanumeric Keyboard (Continued)
a
c
e
g
i2-73
b
d
f
h
j
2-74
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Alphanumeric Keyboard (Continued)
k
m
o
q
sl
n
p
r
t
ADF Bar Codes
Alphanumeric Keyboard (Continued)
u
w
y
{
}2-75
v
x
z
|
~
2-76
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Prefix /
The followintransmissionInterface GuAppendix AASCII Tables and Keyboard Layouts
Suffix Values
g values can be assigned as prefixes or suffixes for ASCII character data . If youre using a keyboard interface, refer to the Synapse Smart Cable ide for keystroke prefix/suffix values.A-1
A-2
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Table A-1. Prefix/Suffix Values
Prefix/Suf- Full ASCII Code ASCIIfix Value 39 Encode Char. Character1000 %U NUL10011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029
Prefix/Suf- Full ASCII Code ASCIIfix Value 39 Encode Char. Character1030 %D RS$A SOH$B STX$C ETX$D EOT$E ENQ$F ACK$G BELL$H BCKSPC$I HORIZ TAB$J LF/NW LN$K VT$L FF$M CR/ENTER$N SO$O SI$P DLE$Q DC1$R DC2$S DC3$T DC4$U NAK$V SYN$W ETB$X CAN$Y EM$Z SUB%A ESC%B FS%C GS
1031 %E US1032 Space Space1033 /A !1034 /B "1035 /C #1036 /D $1037 /E %1038 /F &1039 /G 1040 /H (1041 /I )1042 /J *1043 /K +1044 /L ,1045 - -1046 . .1047 / /1048 0 01049 1 11050 2 21051 3 31052 4 41053 5 51054 6 61057 7 71056 8 81057 9 91058 /Z :1059 %F ;
ASCII Tables and Keyboard Layouts
Table A-1. Prefix/Suffix Values (Contd)
Prefix/Suf- Full ASCII Code ASCIIfix Value 39 Encode Char. Character1060 %G %J ?%V @A AB BC CD DE EF FG GH HI IJ JK KL LM MN NO OP PQ QR RS ST TU UV VW WX XY YZ Z
%K [%L \%M ]%N ^
1097 +A a1098 +B b1099 +C c1100 +D d1101 +E e1102 +F f1103 +G g1104 +H h1105 +I i1106 +J j1107 +K k1108 +L l1109 +M m1110 +N n1111 +O o1112 +P p1113 +Q q1114 +R r1115 +S s1116 +T t1117 +U u1118 +V v1119 +W w1120 +X x1121 +Y y1122 +Z z1123 %P {1124 %Q |1125 %R }1126 %S ~1127 Undefined
7013 ENTER
A-4
LS 4000 and LS 400Xi Series Advanced Programmers Guide
ASCII Character Set
Table A-2. ASCII Character Se t
ASCIIValue
Full ASCII Keystroke ASCII Full ASCII Keystroke
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1048Code 39 Encode Char.
Value Code 39 Encode Char
%U CTRL 2 1024 $X CTRL X
$A CTRL A 1025 $Y CTRL Y
$B CTRL B 1026 $Z CTRL Z
$C CTRL C 1027 %A CTRL [
$D CTRL D 1028 %B CTRL \
$E CTRL E 1029 %C CTRL ]
$F CTRL F 1030 %D CTRL 6
$G CTRL G 1031 %E CTRL -
$H CTRL H 1032 Space Space
$I CTRL I 1033 /A !
$J CTRL J 1034 /B
$K CTRL K 1035 /C #
$L CTRL L 1036 /D $
$M CTRL M 1037 /E %
$N CTRL N 1038 /F &
$O CTRL O 1039 /G
$P CTRL P 1040 /H (
$Q CTRL Q 1041 /I )
$R CTRL R 1042 /J *
$S CTRL S 1043 /K +
$T CTRL T 1044 /L ,
$U CTRL U 1045 - -
$V CTRL V 1046 . .
$W CTRL W 1047 / /
0 0 1073 I I
ASCII Tables and Keyboard Layouts
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1098
1099
1100
Table A-2. ASCII Character Set (Contd)
ASCIIValue
Full ASCII Code 39
Encode Char.
Keystroke ASCIIValue
Full ASCII Code 39
Encode Char
KeystrokeA-5
1 1 1074 J J
2 2 1075 K K
3 3 1076 L L
4 4 1077 M M
5 5 1078 N N
6 6 1079 O O
7 7 1080 P P
8 8 1081 Q Q
9 9 1082 R R
/Z : 1083 S S
%F ; 1084 T T
%G < 1085 U U
%H = 1086 V V
%I > 1087 W W
%J ? 1088 X X
%V @ 1089 Y Y
A A 1090 Z Z
B B 1091 %K [
C C 1092 %L \
D D 1093 %M ]
E E 1094 %N ^
F F 1095 %O _
G G 1096 %W
H H 1097 +A a
+B b 1113 +Q q
+C c 1114 +R r
+D d 1115 +S s
A-6
LS 4000 and LS 400Xi Series Advanced Programmers Guide
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
Table A-2. ASCII Character Set (Contd)
ASCIIValue
Full ASCII Code 39
Encode Char.
Keystroke ASCIIValue
Full ASCII Code 39
Encode Char
Keystroke+E e 1116 +T t
+F f 1117 +U u
+G g 1118 +V v
+H h 1119 +W w
+I i 1120 +X x
+J j 1121 +Y y
+K k 1122 +Z z
+L l 1123 %P {
+M m 1124 %Q |
+N n 1125 %R }
+O o 1126 %S ~
+P p 1127 Undefined
ASCII Tables and Keyboard Layouts
ALT Keys
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
Misc. Key
3001
3002
3003
3004
3005
3006
3007
3008
Table A-2. ASCII Character Set (Contd)
ASCIIValue
Full ASCII Code 39
Encode Char.
Keystroke ASCIIValue
Full ASCII Code 39
Encode Char
KeystrokeA-7
Keystroke ALT Keys Keystroke ALT Keys Keystroke
ALT 2 2075 ALT K 2086 ALT V
ALT A 2076 ALT L 2087 ALT W
ALT B 2077 ALT M 2088 ALT X
ALT C 2078 ALT N 2089 ALT Y
ALT D 2079 ALT O 2090 ALT Z
ALT E 2080 ALT P 2091 ALT [
ALT F 2081 ALT Q 2092 ALT \
ALT G 2082 ALT R 2093 ALT ]
ALT H 2083 ALT S 2094 ALT 6
ALT I 2084 ALT T 2095 ALT -
ALT J 2085 ALT U
Keystroke Misc. Key Keystroke Misc. Key Keystroke
PA 1 3009 CMD 7 3017
PA 2 3010 CMD 8 3018 1/2
CMD 1 3011 CMD 9 3019
CMD 2 3012 CMD 10 3020
CMD 3 3013 3021 |
CMD 4 3014 3022 0/00
CMD 5 3015
CMD 6 3016
A-8
LS 4000 and LS 400Xi Series Advanced Programmers Guide
PF Keys
4001
4002
4003
4004
4005
4006
4007
4008
F Keys
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
Table A-2. ASCII Character Set (Contd)
ASCIIValue
Full ASCII Code 39
Encode Char.
Keystroke ASCIIValue
Full ASCII Code 39
Encode Char
KeystrokeKeystroke PF Keys Keystroke PF Keys Keystroke
PF 1 4009 PF 9 4017 PF 17
PF 2 4010 PF 10 4018 PF 18
PF 3 4011 PF 11 4019 PF 19
PF 4 4012 PF 12 4020 PF 20
PF 5 4013 PF 13 4021 PF 21
PF 6 4014 PF 14 4022 PF 22
PF 7 4015 PF 15 4023 PF 23
PF 8 4016 PF 16 4024 PF 24
Keystroke F Keys Keystroke F Keys Keystroke
F 1 5014 F 14 5027 F 27
F 2 5015 F 15 5028 F 28
F 3 5016 F 16 5029 F 29
F 4 5017 F 17 5030 F 30
F 5 5018 F 18 5031 F 31
F 6 5019 F 19 5032 F 32
F 7 5020 F 20 5033 F 33
F 8 5021 F 21 5034 F 34
F 9 5022 F 22 5035 F 35
F 10 5023 F 23 5036 F 36
F 11 5024 F 24 5037 F 37
F 12 5025 F 25 5038 F 38
F 13 5026 F 26 5039 F 39
ASCII Tables and Keyboard Layouts
NumericKeypad
6042
6043
6044
6045
6046
6047
6048
ExtendedKeypad
7001
7002
7003
7004
7005
7006
7007
Table A-2. ASCII Character Set (Contd)
ASCIIValue
Full ASCII Code 39
Encode Char.
Keystroke ASCIIValue
Full ASCII Code 39
Encode Char
KeystrokeA-9
Keystroke NumericKeypad
Keystroke NumericKeypad
Keystroke
* 6049 1 6056 8
+ 6050 2 6057 9
Undefined 6051 3 6058 Enter
- 6062 4 6059 Num Lock
. 6063 5 6060 00
/ 6064 6
0 6065 7
Keystroke ExtendedKeypad
Keystroke ExtendedKeypad
Keystroke
Break 7008 Backspace 7015 Up Arrow
Delete 7009 Tab 7016 Dn Arrow
Pg Up 7010 Print Screen 7017 Left Arrow
End 7011 Insert 7018 Right Arrow
Pg Dn 7012 Home 7019 Back Tab
Pause 7013 Enter
Scroll Lock 7014 Escape
A-10
LS 4000 and LS 400Xi Series Advanced Programmers Guide
Keyboard Maps
IBM PC/XT
NCR PC4
COMPAQ DE
COLUMBIA
IBM PC/ATTANDY HD 1200 ITT PC
ADDS PC I/II SPERRY PC
SKPRO LEADING EDGE PC PITNEY BOWES A2000
PC HP VECTRA CS/RS
NCR PC8 ZENITH 248
WYSE PC
ASCII Tables and Keyboard Layouts
IBM 3179
IBM 347X
IBM PS2A-11
IBM 3180 IBM 319X
TELEX 122
COMPAQ 386 WYSE PC ENHANCED
HP VECTRA ES/QS
A-12
LS 4000 and LS 400Xi Series Advanced Programmers Guide
*300
IBM 3151 1 for IBM 3151
DEC VT2XX/VT3XX/VT4XX IBM 316X
TEXAS INSTRUMENTS 924
TELEX 88
*
ASCII Tables and Keyboard LayoutsA-13
WYSE 50
WYSE 60 ANSI KYBD
A-14
LS 4000 and LS 400Xi Series Advanced Programmers GuideWYSE 60 ASCII KYBD
WYSE 60/85/150/185
ASCII Tables and Keyboard LayoutsA-15
DECISION DATA 3496
DECISION DATA 3761
A-16
LS 4000 and LS 400Xi Series Advanced Programmers GuideDECISION DATA 359X
ASCII Tables and Keyboard LayoutsA-17
IBM 3178
HP 239X
A-18
LS 4000 and LS 400Xi Series Advanced Programmers GuideHP 700/9X
ASCII Tables and Keyboard LayoutsA-19
IBM 3278
A-20
LS 4000 and LS 400Xi Series Advanced Programmers GuideNCR 2151
NCR 2152 27-KEY
ASCII Tables and Keyboard LayoutsA-21
NCR 2155
NCR 2157
A-22
LS 4000 and LS 400Xi Series Advanced Programmers GuideNCR 280
NCR 2950
ASCII Tables and Keyboard LayoutsA-23
NCR 7052 32-KEY
NCR 7052 58-KEY
A-24
LS 4000 and LS 400Xi Series Advanced Programmers GuideIBM 3683/3684 35-KEY Calculator Style
IBM 3683/3684 35-KEY Phone Style
ASCII Tables and Keyboard LayoutsA-25
IBM 3683/3684 48-KEY Calculator Style
IBM 3683/3684 48-KEY Phone Style
A-26
LS 4000 and LS 400Xi Series Advanced Programmers GuideIBM 3683 116-KEY
IBM 3653 30-KEY
Aactions . . . . . ADF . . . . . .
actions . alphanumalternate bar code mbeep . . . beeper decode lengcode lengcode typecriteria . default runumeric kpad spacepad zerosrule belonrules . . . rules heirasend charsend contsend valusetup fieldskip aheaskip backspace remspecial cospecific dazero remo
advanced dataactions . alphanumalternate Index
. . . . . . . . . . . . . . . . . . . . . . . . 1-4
. . . . . . . . . . . . . . . . . . . . . . . . 1-1
. . . . . . . . . . . . . . . . 1-1, 1-4, 2-13eric keyboard . . . . . . . . . . . 2-66rule sets . . . . . . . . . . . . . . . . . 1-8
enu example . . . . . . . . . . . . 1-6. . . . . . . . . . . . . . . . . . . . . . . 2-31finitions . . . . . . . . . . . . . . . . 1-11th . . . . . . . . . . . . . . . . . . . . . . 1-3ths . . . . . . . . . . . . . . . . . . . . . 2-6s . . . . . . . . . . . . . . . . . . 1-3, 2-4. . . . . . . . . . . . . . . . . . . . 1-1, 2-4les . . . . . . . . . . . . . . . . . . . . 1-10eypad . . . . . . . . . . . . . . . . . 2-11s . . . . . . . . . . . . . . . . . . . . . 2-23 . . . . . . . . . . . . . . . . . . . . . . 2-27gs to set . . . . . . . . . . . . . . . 2-12. . . . . . . . . . . . . . . . . . . . . . . . 1-1rchy . . . . . . . . . . . . . . . . . . . 1-9
acters . . . . . . . . . . . . . . . . . . 2-13rol characters . . . . . . . . . . . . 2-32e . . . . . . . . . . . . . . . . . . . . . 2-21s . . . . . . . . . . . . . . . . . . . . . 2-16
d characters . . . . . . . . . . . . . 2-17 characters . . . . . . . . . . . . . . 2-19oval . . . . . . . . . . . . . . . . . . . 2-22mmands . . . . . . . . . . . . . . . . . 2-1ta string . . . . . . . . . . . . . . . 2-10val . . . . . . . . . . . . . . . . . . . . 2-22 formatting . . . . . . . . . . . . . . 1-1. . . . . . . . . . . . . . . . 1-1, 1-4, 2-13
bar code beep . . . .beeper decode lengcode lengcode typecriteria . .default runumeric kpad spacepad zerosrule belonrules . . .rules heirsend charsend contsend valusetup fieldskip aheaskip backspace remspecial cospecific dazero remo
Bbeeper
ADF definbullets . . . . . .
C
eric keyboard . . . . . . . . . . . 2-66rule sets . . . . . . . . . . . . . . . . . 1-8
code typesADF . . .menu example . . . . . . . . . . . . 1-6 . . . . . . . . . . . . . . . . . . . . . . 2-31finitions . . . . . . . . . . . . . . . 1-11th . . . . . . . . . . . . . . . . . . . . . 1-3ths . . . . . . . . . . . . . . . . . . . . . 2-6s . . . . . . . . . . . . . . . . . . . 1-3, 2-4 . . . . . . . . . . . . . . . . . . . . 1-1, 2-4les . . . . . . . . . . . . . . . . . . . . 1-10eypad . . . . . . . . . . . . . . . . . 2-11s . . . . . . . . . . . . . . . . . . . . . 2-23 . . . . . . . . . . . . . . . . . . . . . . 2-27gs to set . . . . . . . . . . . . . . . 2-12 . . . . . . . . . . . . . . . . . . . . . . . 1-1archy . . . . . . . . . . . . . . . . . . . 1-9acters . . . . . . . . . . . . . . . . . 2-13rol characters . . . . . . . . . . . 2-32e . . . . . . . . . . . . . . . . . . . . . 2-21s . . . . . . . . . . . . . . . . . . . . 2-16
d characters . . . . . . . . . . . . 2-17 characters . . . . . . . . . . . . . 2-19oval . . . . . . . . . . . . . . . . . . 2-22mmands . . . . . . . . . . . . . . . . 2-1ta string . . . . . . . . . . . . . . . 2-10val . . . . . . . . . . . . . . . . . . . 2-22
itions . . . . . . . . . . . . . . . . . 1-11 . . . . . . . . . . . . . . . . . . . . . . . . . vIndex-1
. . . . . . . . . . . . . . . . . . . . . . . 2-4
Index-2
LS 4000 and LS 400Xi Series Advanced Programmers Guide
conventionsnotational . . . . . . . . . . . . . . . . . . . . . . . . v
criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Iinformation
service .
Nnotational conventions . . . . . . . . . . . . . . . . . . .v
Rrelated publications . . . . . . . . . . . . . . . . . . . . .v. . . . . . . . . . . . . . . . . . . . . . . . . .viSservice information . . . . . . . . . . . . . . . . . . . . viSymbol Support Center . . . . . . . . . . . . . . . . .vii
Tell Us What You Think...Wed like to know what you think about this Manual. Please take a moment to fill out t
Symbol TeOne SymboHoltsville, Attn: Tech
IMPORTAtomer suppsupport at
Users Man
How famil
Did this m________
What topic________
What topic________
What can w________________Thank you for your inputWe value your comments.
his questionaire and fax this form to: (631) 738-3318, or mail to:
chnologies, Inc. l Plaza M/S B-4
NY 11742-1300 nical Publications Manager
NT: If you need product support, please call the appropriate cus-ort number provided. Unfortunately, we cannot provide customer the fax number above.
ual Title: _______________________________________________(please include revision level)
iar were you with this product before using this manual?
anual meet your needs? If not, please explain. ________________________________________________________________________
s need to be added to the index, if applicable? _______________________________________________________________________
s do you feel need to be better discussed? Please be specific._________________________________________________________
e do to further improve our manuals?_________________________________________________________________________________________________________________________________________
Very familiar Slightly familiar Not at all familiar
LS 4000 and LS 400Xi Series APGContentsAbout This ManualNotational ConventionsRelated PublicationsService InformationSymbol Support CenterWarranty
Chapter 1 Advanced Data FormattingIntroductionRules: Criteria Linked to ActionsUsing ADF Bar CodesSpecial CommandsBegin New RuleSave RuleEraseQuit Entering RulesDisable Rule Set
CriteriaCode TypesCode LengthsMessage Containing A Specific Data StringSpecific String at StartSpecific String, Any LocationAny Message OKRule Belongs To Set
ActionsSend DataSetup Field(s)Move Cursor To a CharacterMove Cursor to Start of DataMove Cursor Past a CharacterSkip Ahead N CharactersSkip Back N CharactersSend Preset Value
Modify DataRemove All SpacesCrunch All SpacesStop Space RemovalRemove Leading ZerosStop Zero Removal
Pad Data With SpacesPad Data With ZerosBeepsSend Keystroke (Control Characters and Keyboard Characters)Turn On/Off Rule Sets
ADF Bar Code Menu ExampleRule 1: The Code 128 Scanning RuleRule 2: The UPC Scanning RuleAlternate Rule SetsRules Hierarchy (in Bar Codes)Default Rules
Beeper Definitions
Chapter 2 ADF Bar CodesSpecial CommandsBegin New RuleSAVE RULEEraseQuit Entering RulesDisable Rule Set
CriteriaCode TypesCode LengthsSpecific Data StringNumeric KeypadRule Belongs To Set
ActionsSend DataSetup FieldsSkip AheadSkip BackSend Preset ValueModify DataPad Data with SpacesPad Data with ZerosBeepsControl CharactersKeyboard CharactersSend ALT CharactersSend Command CharactersSend Command Characters (Contd)Send Special CharactersSend Keypad CharactersSend Function KeyTurn On/Off Rule Set
Alphanumeric Keyboard
Appendix A ASCII Tables and Keyboard LayoutsPrefix / Suffix ValuesASCII Character SetKeyboard Maps
Index