The check digit is calculated by Zint. The code requires a 6 digit article number digits In addition Zint also supports Number System 1 encoding by entering a 7-digit article number stating with the digit 1. For example:. Zint will decide which symbology to use depending on the length of the input data. As before these results can be achieved using the API:. The relevant check digit needs to be present in the input data and will be verified before the symbol is generated.
The symbol can encode any length data consisting of digits or letters A-F and includes a CRC check digit. Any length numeric digits input can be encoded.
The table below shows the options available:. Telepen includes a modulo check digit. Telepen Numeric allows compression of numeric data into a Telepen symbol. Data can consist of pairs of numbers or pairs consisting of a numerical digit followed an X character.
For example: and X33 are valid codes whereas 46X is not the digit pair "X3" is not valid. Telepen Numeric includes a modulo check digit which is added by Zint. Standard Code 39 was developed in by Intermec.
Input data can be of any length and can include the characters , A-Z, dash - , full stop. Two check digits are added by Zint. Pharmazentralnummer is a Code 39 based symbology used by the pharmaceutical industry in Germany. Pharmazentralnummer encodes a 6 digit number to which Zint will add a modulo check digit. This symbology requires a numeric input up to 8 digits in length.
Using the API. This flag is always set for Codablock-F, Code 16k and Code Special considerations apply to ITF - see the specific section 6. Contains the name of the file to output a resulting barcode symbol to. Must end in. Human readable text, which usually consists of the input data plus one or more check digits.
Uses UTF-8 formatting. Number of rows used by the symbol or, if using barcode stacking, the row to be used by the next symbol. Zint has automatically inserted an ECI character. The symbol may not be readable with some readers. The symbol was created but is not compliant with certain standards set in its specification e.
Marks the divide between warnings and errors. For return values greater than or equal to this no symbol or only an incomplete symbol is generated. The input data is too long or too short for the selected symbology.
No symbol has been generated. The data to be encoded includes characters which are not permitted by the selected symbology e. Data with an incorrect check digit has been entered.
The minimum scale for non-dotty raster output is 0. The minimum scale for raster output in dotty mode is 1 see 4. This will result in output of The following table shows the scale to use in 0.
For MaxiCode symbols, which use hexagons, the scale for raster output is multiplied by 10 before being applied. The minimum scale is 0.
MaxiCode symbols have fixed size ranges of The following table shows the scale to use depending on the dpmm desired, with dpi equivalents:. By default all input data is assumed to be encoded in Unicode UTF-8 format. If Zint encounters characters which can not be encoded using the default character encoding then it will take advantage of the ECI Extended Channel Interpretations mechanism to encode the data.
Be aware that not all barcode readers support ECI mode, so this can sometimes lead to unreadable barcodes. If you are using characters beyond those supported by Latin-1 then you should check that the resulting barcode can be understood by your target barcode reader. Zint will generate a warning message when an ECI code that has not been explicitly requested has been inserted into a symbol. GS1 data can be encoded in a number of symbologies. Application Identifiers should be enclosed in [square brackets] followed by the data to be encoded see 6.
To encode GS1 data use the --gs1 option. The --binary option encodes the input data as given. Automatic code page translations to ECI pages is disabled, and no validation of the data's encoding takes place. This may be used for raw binary or binary encrypted data. This switch plays together with the built-in ECI logic and examples may be found below.
Symbols encoded with this option should be checked against decoders before they are used. The popular open-source ZXing decoder is known to exhibit this behaviour. The ECI information is added to your code symbol as prefix data.
The first row of the table ECI code 3 is the default value and does not lead to any ECI information being included in the symbol. The input data should be UTF-8 formatted. Zint automatically translates the data into the target encoding. Note: the " --eci 3 " specification should only be used for special purposes. Examples include PDF A matrix symbol is one based on a usually square grid of elements.
The X-dimension of a symbol is the size usually the width of the smallest element. For a linear symbology this is the width of the smallest bar. The default size of the X-dimension in a raster image is 2 pixels. Many symbologies have a fixed width-to-height ratio where the height is expressed as a multiple of the X-dimension. A composite symbology is one which is made up of elements which are both linear and stacked.
0コメント