8 - 6 4800p 2D Imager User’s GuideStringing Together Multiple Formats(Creating “Or” Statements)You may want to program the imager to accept many OCR formats. To do this,you would string together each format with a “t.” This tells the imager to readoptical characters that match any one of the formats in the template.Example: You need to read any combination of eight digits,or a combination offour digits, two uppercase letters, and two digits. The template wouldbe:ddddddddtddddllddTo create this template, you would enable the OCR-A font. Scan theEnterOCR Template symbol (page 8-13). Scan thed from the OCR ProgrammingChart in the back of this manual eight times, then scan thet to create the “or”statement. Then you would scan the characters for the second template.Scand four times, scanl two times, then scand two more times. ScanSaveOCR Template (page 8-14). This would let you read either type of format, forexample:99028650or9902XZ50You can string together as many templates as you need.OCR User-Defined VariablesYou can create up to two of your own user variables for an OCR template. Thesevariables will represent any OCR readable characters. The user-definedvariables are stored under the letters “g” and “h.” Creating a user variable followsthe same steps as creating a template, but instead of scanning theEnter OCRTemplate symbol, you scan theEnter User-Defined Variable symbol (page 8-13). The letters g and h can then be used in an OCR template to define thevariable you specified.Example: You need a variable to represent the letters “A,” “B,” or “C.” Thetemplate for this variable would be:414243To create this template, you would enable the OCR-A font. Scan theEnterUser-Defined Variable g symbol (page 8-13). Scan414243 from theProgramming Chart (the hex characters for “A,” “B,” and “C”). ScanSaveOCR Template (page 8-14). This will let you read either A or B or C in anyposition where you place the g. For example, you could create the followingtemplate:ddddddggg