barcode-processing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
barcode-processing [2018/03/13 01:20] – [Parsing Logic] Scott Cunliffe | barcode-processing [2018/08/10 02:40] (current) – removed Scott Cunliffe | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Barcode Processing ====== | ||
- | |||
- | |||
- | When a barcode is scanned in TapeTrack it is sent to the Server component to be interpreted and split (or parsed) into its respective components. | ||
- | |||
- | ===== Barcode Syntax Rules ===== | ||
- | |||
- | A TapeTrack Barcode may be up to 20 characters in length and may contain a [[: | ||
- | |||
- | |||
- | barcode format: CUST.MEDIA.VOLUME \\ | ||
- | {{common: | ||
- | |||
- | barcode format: VOLUME \\ | ||
- | {{common: | ||
- | ==== Parsing Logic ==== | ||
- | |||
- | The TapeTrack Server parses barcodes as follows: | ||
- | |||
- | The unparsed barcode will be looked up in the [[subsystem: | ||
- | |||
- | When a corresponding [[Barcode Interpretation Definition|Barcode Interpretation Definition]] is found the barcode is split into [[: | ||
- | |||
- | If the [[: | ||
- | |||
- | If the [[: | ||
- | |||
- | If the [[master: | ||
- | |||
- | Using the [[master: | ||
- | |||
- | If the [[master: | ||
- | |||
- | If the [[master: | ||
- | |||
- | If the last digit of the [[master: | ||
- | |||
- | If the last digit of the [[master: | ||
- | |||
- | ==== Additional Logic for Batch Programs ==== | ||
- | |||
- | Batch programs that parse barcodes will also check for the existence of the environment variable {{EnvVariable|TMSS10BARCODECONFIG}} when the program starts. | ||
- | |||
- | This variable is used to define the path to a config file containing settings that influence how barcode is performed. | ||
- | |||
- | < | ||
- | set TMSS10BARCODECONFIG=c: | ||
- | TMSS10ValidateBarcode | ||
- | </ | ||
- | |||
- | ==Example Batch Barcode Config File== | ||
- | |||
- | < | ||
- | defaults = | ||
- | { | ||
- | customer-id = " | ||
- | media-id = " | ||
- | }; | ||
- | </ | ||
- | |||
- | === Programs that load the Barcode Config File === | ||
- | |||
- | [[cli: | ||
- | [[cli: | ||
- | [[cli: | ||
- | |||
- | |||
- | == See Also == | ||
- | [[modulo43-barcodes|Modulo 43]] | ||
- | |||
- | [[Category: | ||
- | |||
barcode-processing.1520904049.txt.gz · Last modified: 2025/01/21 22:07 (external edit)