Both sides previous revisionPrevious revisionNext revision | Previous revision |
technote:long_barcodes [2021/08/12 01:48] – Scott Cunliffe | technote:long_barcodes [2025/01/21 22:07] (current) – external edit 127.0.0.1 |
---|
Barcodes can be truncated via the TapeTrack Scan window in TapeMaster, Lite and Checkpoint. | Barcodes can be truncated via the TapeTrack Scan window in TapeMaster, Lite and Checkpoint. |
| |
<note tip>This method only truncates volume-ID's through the scan window </note> | <note >This method only truncates volume-ID's through the scan window </note> |
| |
For detailed information please see [[desktop:scan_window#truncating-a-scanned-Barcode|Truncating a barcode via the scan window]]. | For detailed information please see [[desktop:scan_window#truncating-a-scanned-Barcode|Truncating a barcode via the scan window]]. |
Truncation of a barcode by removing the suffix (eg. removing L6 from 1234567890L6) can be achieved by setting the ''Remove Suffix'' option in the media properties via TapeMaster. | Truncation of a barcode by removing the suffix (eg. removing L6 from 1234567890L6) can be achieved by setting the ''Remove Suffix'' option in the media properties via TapeMaster. |
| |
<note tip>This method will truncate all matching volume-ID's regardless of length and will only act on the suffix</note> | <note >This method will truncate all matching volume-ID's regardless of length and will only act on the suffix</note> |
| |
Truncating a barcode via the [[object:media#options|media properties]] tab. Adding L6 in the ''Remove Suffix'' field will remove L6 from any matching volume-ID (eg removing L6 from 1234567890L6 to input as 1234567890 or 123456L6 as 123456) regardless of barcode length. | Truncating a barcode via the [[object:media#options|media properties]] tab. Adding L6 in the ''Remove Suffix'' field will remove L6 from any matching volume-ID (eg removing L6 from 1234567890L6 to input as 1234567890 or 123456L6 as 123456) regardless of barcode length. |
Translating a barcode, or volume-ID, involves swapping a recognizable pattern for an alternate value within the 10 character limit via translation statements in a ttidef file. | Translating a barcode, or volume-ID, involves swapping a recognizable pattern for an alternate value within the 10 character limit via translation statements in a ttidef file. |
| |
<note tip>This method works with command line programs, such as [[cli:tmss10sync|TMSS10Sync]], via ttidef file statements as well as through configuration files in TapeMaster, Lite and Checkpoint.</note> | <note >This method works with command line programs, such as [[cli:tmss10sync|TMSS10Sync]], via ttidef file statements as well as through configuration files in TapeMaster, Lite and Checkpoint.</note> |
| |
Using a translation statement **AddTranslation(VOLUME, "A6??????????", "^^~~~~~~~~~~");** in the ttidef file, any 12 character volume-ID starting with A6, such as A61234567890, will drop the first two characters and keep the next 10, inputting as 1234567890. | Using a translation statement **AddTranslation(VOLUME, "A6??????????", "^^~~~~~~~~~~");** in the ttidef file, any 12 character volume-ID starting with A6, such as A61234567890, will drop the first two characters and keep the next 10, inputting as 1234567890. |
Adding the un-hashed barcode to an extended attribute field can be manually added using the [[cookbook:long_barcodes_paste|Paste Long Barcode function]] or automated by setting the field ''Long Barcode Attribute'' in the Customer Properties ''Options'' tab to the required Attribute field. | Adding the un-hashed barcode to an extended attribute field can be manually added using the [[cookbook:long_barcodes_paste|Paste Long Barcode function]] or automated by setting the field ''Long Barcode Attribute'' in the Customer Properties ''Options'' tab to the required Attribute field. |
| |
<note tip>Barcodes can be hashed via ttidef files for command line programs as well as through configuration files in TapeMaster, Lite and Checkpoint.</note> | <note>Barcodes can be hashed via ttidef files for command line programs as well as through configuration files in TapeMaster, Lite and Checkpoint.</note> |
| |
==== Hashing via Scanning ==== | ==== Hashing via Scanning ==== |
</code> | </code> |
| |
<note tip>Barcode hashing can also be achieved using [[subsystem:barcode|barcode administration]].</note> | <note tip>Barcode hashing can also be achieved using [[subsystem:barcode|Barcode Administration]].</note> |
| |
{{tag>technote barcode long-barcode hash config-file}} | {{tag>technote barcode long-barcode hash config-file}} |