The text of a manual · part 5 of 14
SnapShot Bar Code Laser Scanners User's Guide for Decoded Models: Input Editing, pages 35 to 42
Pages 35 to 42 of 118, from SnapShot Bar Code Laser Scanners User's Guide for Decoded Models
The original document is the PDF (2.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the PSC Snapshot and Datalogic Snapshot
Page 35
N O TE
Input editing is available only in decoded laser models of the Percon SnapShot. It is not available in the undecoded models.
LLL Lif gz l/s CHAPTER
Input Editing
The Percon SnapShot gives you the ability to modify bar code input. This feature is known as input editing. With input editing, you program the SnapShot to change the format of the input data before it sends the data to your computer or terminal.
Table 4-1 shows just a few of the many uses for input editing.
Input editing overrides standard preamble and postamble settings. Programmed preambles and postambles will be attached only to data input that doesn’t qualify for editing (see the next section).
Percon SnapShot User’s Guide 29
Page 36
Input Editing
TABLE 4-1 Examples of Input Editing
You can
By programming the SnapShot to ... change this ... To this ... Delete the first three characters of each string |A0037066 37066 A0037067 37067 Separate the input into two fields separated by | A0037066 A 0037066 a space A0037067 A 0037067 or A003 7066 A003 7067 Separate the input into three fields separated by | A0037066 A-003-7066 dashes A0037067 A-003-7067 Rearrange the order of the fields A0037066 0037066A A0037067 0037067A Separate the input into fields separated by A0037066 7066,A003 commas and rearrange the order of the fields | A0037067 7067,A003 Add text to the data A0037066 Ser. #A0037066 A0037067 Ser. #A0037067 or A0037066 Jan/95 A0037067 Jan/95
30 Percon SnapShot User’s Guide
Page 37
Creating Qualification Definitions
Creati n To qualify for input editing, the data that enters the SnapShot must meet certain
“¢" = criteria that you define. For example, you may require the data to be Code 39, to Qua | ification have exactly ten numbers or letters, and to end with an X. These criteria make up Defi n ition S a qualification definition. Any input that meets all the criteria for a definition will be edited according to the parameters that you set for it and output in the format that you specify.
You can create up to four different qualification definitions for input editing. The definitions are numbered 1 through 4, and each definition has its own set of ID numbers for programming parameters (see table 4-2 beginning on page 32). Parameters for each definition include the following:
|} Symbology This specifies whether the data must be of a particular bar code type. Only data of the designated symbology can be considered for qualification. (This parameter can also be set to consider any input regardless of symbology.)
_} Record length This specifies what length (from 1 through 99 characters) the data must be. Only data of the designated length will be considered. (This parameter can also be set to consider data of any length.)
(_} Number of input fields This specifies into how many fields (from 1 through 8) the input data will be broken down. Each field can then be defined as a specific number of characters (or any number of characters) beginning with a specific character (or any character).
[_} Output sequence This specifies the order in which to output the defined fields. The output sequence can also include additional information, such as symbology identifiers, preambles, postambles, or up to 16 extra fields that contain text strings. These extra fields are numbered 0 through 9 and A through F; each field has its own programming ID number. (For more information about output sequencing, see “Understanding Output Sequences,” beginning on page 36.)
Percon SnapShot User’s Guide 31
Page 38
Input Editing
TABLE 4-2 Input Editing Parameters
When data is read, the SnapShot processes the definitions in numerical order. If the input data qualifies under definition 1, the SnapShot edits and outputs the data; if the data does not qualify under definition 1, the SnapShot tries definition 2. The process continues in order through all four definitions, and the data is edited according to the first definition under which it qualifies; the other definitions are not used. If the data doesn't qualify under any of the four definitions, then the SnapShot outputs the data without editing it. If the “allow qualified data only” parameter (ID #AD) is enabled, no data will be output unless it qualifies under one of the definitions.
Parameters for Input-Editing Definitions
Table 4-2 lists ID numbers and predefined defaults for parameters for input-editing definitions 1 through 4. You can change your SnapShot's settings for these parameters using any programming method (see chapter 3).
Predefined defaults
Parameter ID # | Type po | p1 | v2 Definition 1 Enter 1 for On and 0 for Off. Enable 70 On/Off Off On Off Symbology (0 = any; for other values, see ID #B5 on page 49) 71 Value 0 C 0 Record length (01-99, or 00 for any) 72 Value 00 00 00 Number of fields (07-08) 73 Value 01 05 01 table continues
32 Percon SnapShot User’s Guide
Page 39
Creating Qualification Definitions
Predefined defaults Parameter ID # | Type po | p1 | p2 Fields 1-8 (length followed by qualifier; 00 = any length; (00) = any qualifier) Field 1 74 00(00) Field 2 75 01! Field 3 76 00(00) Field 4 77 . O1= Field 5 78 Field 00(00) 03(00) 00(00) Field 6 79 00(00) Field 7 7A 00(00) Field 8 78 00(00) Output sequence (see table 4-3 on page 36) 7C String // * // *60610561036201B1// (see “Understanding Output Sequences,” beginning on page 36, for explanation)
Definition 2 Enter 1 for On and 0 for Off. Enable 80 On/Off Off Off Off Symbology (0 = any; for other values, see ID #B5 on page 49) 81 Value 0 0 0 Record length (01-99, or 00 for any) 82 Value 00 00 00 Number of fields (07-08) 83 Value 01 01 01 Fields (length followed by qualifier; 00 = any length; (00) = any qualifier) Field 2 85 Field 3 86 Field 4 87 . Field 5 88 Field 00(00) | O0(00) | 00(00) Field 6 89 Field 7 8A Field 8 Be so sequence (see table 4-3 on page 8c String // // // table continues
Percon SnapShot User’s Guide 33
Page 40
Input Editing
Predefined defaults
Parameter ID # | Type po | p1 | p2 Definition 3 Enter 1 for On and 0 for Off. Enable 90 On/Off Off Off Off Symbology (0 = any; for other values, see ID #B5 on page 49) 91 Value 0 0 0 Record length (01-99, or 00 for any) 92 Value 00 00 00 Number of fields (07-08) 93 Value 01 01 01 Fields (length followed by qualifier; 00 = any length; (00) = any qualifier) Field 2 95 Field 3 96 Field 4 97 . Field 5 98 Field 00(00) | 00(00) | O0(00) Field 6 99 Field 7 9A Field 8 2 Output sequence (see table 4-3 on page 36) 9C String // // // table continues
34 Percon SnapShot User’s Guide
Page 41
Creating Qualification Definitions
Predefined defaults
Parameter ID # | Type po | p1 | p2 Definition 4 Enter 1 for On and 0 for Off. Enable AO On/Off Off Off Off
Symbology (0 = any; for other values, see
ID #B5 on page 49) Al Value 0 0 0 Record length (01-99, or 00 for any) A2 Value 00 00 00 Number of fields (07-08) A3 Value 01 01 01 Fields (length followed by qualifier; 00 = any length; (00) = any qualifier)
Field 2 AS
Field 3 A6
Field 4 A7 .
Field 5 A Field 00(00) | O0(00) | 00(00) Field 6 AQ
Field 7 AA
Field 8 BE
Output sequence (see table 4-3 on page 36) AC String Hf // Hf Allow qualified data only AD On/Off Off Off Off
Percon SnapShot User’s Guide 35
Page 42
Input Editing
Understanding
Output Sequences
TABLE 4-3 Output Sequence Settings
An output sequence does not contain any text that will actually be output; it contains pointers to fields, which may contain input data or text strings. For example, you cannot include a comma in an output sequence; instead, you must include the output-sequence value of the field containing a comma.
An output sequence can also contain autoterminators, preambles, and postambles. Each field and other type of information is assigned a specific value (either the field number or letter, or the parameter ID number) for inclusion in the output sequence (see table 4-3).
Each output sequence must end with an end-of-string character (//).
Each input editing definition has its own output sequence with its own ID number. The order of the values in the output sequence determines the order in which the field contents and other information will appear in the output. If a field is not included in the output sequence, its contents will be stripped from the data during input editing.
. Value Used in Type of Information Output Sequence Actual Output Fields 01-08 The contents of each specified 01-08 . field Extra fields The contents of each specified 60-6F field; see “Using Extra Fields,” on page 37 Redirection commands 90-96 None; see table 4-5, on page 38 Autoterminator BI A single ASCII character Symbology identifier B5 A code identifying the input form End-of-string character (//) Must be used to end each output sequence
36
Percon SnapShot User’s Guide