cobi.wms:gs1_barcodes
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cobi.wms:gs1_barcodes [2022/03/25 10:19] – created tkammer | cobi.wms:gs1_barcodes [2022/04/07 14:52] (current) – [Possible formats] tkammer | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== GS1 Barcodes ====== | ====== GS1 Barcodes ====== | ||
- | COBI.wms supports the scanning of **GS1-128**, **GS1 QR Code**, and **GS1 DataMatrix** codes, so long as your scanning hardware can handle these formats. | + | A **GS1 barcode** is a standardized type of barcode or 2D code that can contain multiple pieces of data, and identifies what each piece means. |
- | GS1 codes can contain multiple pieces of data bundled together, so for example an item code, batch number, and expiry date could all be read with a single scan. | + | For example, it could contain |
- | The data fields in a GS1 code are identified with so-called Application Identifiers (AI) which have a numeric code. Currently, COBI.wms supports the following AI codes: | + | COBI.wms supports these types of codes and will use the different pieces of data found in the code to fill in the correct fields in the app. |
+ | |||
+ | ===== Possible formats ===== | ||
+ | |||
+ | GS1 barcodes can be encoded with the physical formats **Code 128**, **DataMatrix**, | ||
+ | |||
+ | These are then referred to as **GS1-128**, | ||
+ | |||
+ | All three of these formats are supported by COBI.wms, as long as your hardware supports them. | ||
+ | |||
+ | [{{gs1-128.png? | ||
+ | |||
+ | [{{gs1-datamatrix.png? | ||
+ | |||
+ | [{{gs1-qr-code.png? | ||
+ | |||
+ | All three codes above contain the same data. | ||
+ | |||
+ | As you can see, DataMatrix and QR Code can be much smaller, since they are two dimensional. | ||
+ | |||
+ | The difference between DataMatrix and QR Code is that DataMatrix was designed for industrial use. It is more resilient against damage. | ||
+ | |||
+ | These characteristics make **GS1 DataMatrix** the optimal choice for modern warehouse applications, | ||
+ | |||
+ | Note that using a modern format like DataMatrix might also make your barcodes incompatible with other, more primitive scanning solutions. | ||
+ | |||
+ | ===== Supported data fields ===== | ||
+ | |||
+ | The data fields in a GS1 code are identified with standardized numeric codes called | ||
+ | |||
+ | Currently, COBI.wms supports the following AI codes: | ||
^ AI ^ Meaning | ^ AI ^ Meaning | ||
| 00 | SSCC | Add a package with the scanned SSCC in delivery packing slips | | | 00 | SSCC | Add a package with the scanned SSCC in delivery packing slips | | ||
| 01 | GTIN | Identify item (item code or barcode) | | 01 | GTIN | Identify item (item code or barcode) | ||
- | | 02 | GTIN | + | | 02 | Contained |
| 10 | Batch number | | 10 | Batch number | ||
| 11 | Production date | Auto-insert production date field for batch number | | 11 | Production date | Auto-insert production date field for batch number | ||
Line 22: | Line 52: | ||
| 37 | Contained quantity | Auto-insert quantity | | 37 | Contained quantity | Auto-insert quantity | ||
+ | ===== Common mistakes ===== | ||
+ | |||
+ | There are a number of common mistakes that can be made when generating new GS1 barcodes. | ||
+ | |||
+ | ==== Parentheses in data ==== | ||
+ | |||
+ | When the content of a GS1 code is displayed as human-readable text, the AI codes are usually enclosed in parentheses, | ||
+ | |||
+ | '' | ||
+ | |||
+ | If you use a text like this, including the parentheses, | ||
+ | |||
+ | Instead, you must configure your barcode generating software to operate in **GS1 mode** and enter the AI codes in an application-dependent way. For example, in the program **Zint Barcode Studio**, the AI codes must be enclosed in square brackets, like this: | ||
+ | |||
+ | '' | ||
+ | |||
+ | The barcode generation software you use might allow normal parentheses and handle them correctly, but it's important to make sure that your software doesn' | ||
+ | |||
+ | (The actual contents of a valid GS1 code don't contain any kind of parentheses at all. The AI codes and data contents appear bare, without any characters in between, except the FNC1 special character that may be used to mark the end of a field.) | ||
+ | |||
+ | ==== Not setting GS1 mode ==== | ||
+ | |||
+ | {{ zint-gs1-datamatrix.png? | ||
+ | |||
+ | As already mentioned in the previous section, it's important to tell your barcode generation software that you want to generate a valid GS1 code; it's not enough for the contents to be valid GS1 contents. | ||
+ | |||
+ | This is because all the physical formats used for GS1 codes (Code 128, DataMatrix, and QR Code) contain special symbols at the beginning which identify what type of data they contain. | ||
+ | |||
+ | How to set your barcode generation software to GS1 mode depends on the software being used. For example, in Zint Barcode Studio, it's selected in the format-specific configuration options after selecting the format from the Symbology drop-down. | ||
+ | |||
+ | **NOTE:** If you cannot find a way to configure your barcode generator to use a GS1 mode, but it allows you to manually insert the special, invisible barcode character called **FNC1** (Function Character 1), then putting an FNC1 at the beginning of the data should also work, since this is how GS1 codes are generally identified. | ||
+ | |||
+ | \\\ | ||
+ | |||
+ | ==== Incorrect or missing FNC1 ==== | ||
+ | |||
+ | Some GS1 data fields have a variable length. | ||
+ | |||
+ | When such a variable-length field is not the last field, and its length is less than maximum, then the end must be marked with a special invisible character called FNC1 (Function Character 1). | ||
+ | |||
+ | If the barcode generation software you use allows you to specially mark the AI codes, like square brackets in Zint Barcode Studio (see above), then FNC1 should be inserted automatically to all the places where it's necessary. | ||
+ | |||
+ | For example, let's say we're using barcode generation software that doesn' | ||
+ | |||
+ | '' | ||
+ | |||
+ | Explanation: | ||
+ | |||
+ | * The data starts with FNC1 to identify the barcode as a GS1 barcode. | ||
+ | * The first data field is a GTIN (AI 01). This field must contain exactly 14 digits, so it doesn' | ||
+ | * The next data field is the batch number (AI 10) which may be between 1 and 30 characters long. Our batch number is only 4 characters long, so it must be ended with FNC1. | ||
+ | * The last field is the expiry date (AI 17) which must be exactly 6 digits, but it wouldn' |
cobi.wms/gs1_barcodes.1648199974.txt.gz · Last modified: 2022/03/25 10:19 by tkammer