Platforms to show: All Mac Windows Linux Cross-Platform
BarcodeGeneratorMBS constants
Constants
Constant | Value | Description |
---|---|---|
OptionSquare | 100 |
One of the options.
An extra feature is available for Data Matrix symbols which allows Zint to automatically resize the symbol as required but also prevents Zint from using rectangular symbols. To set this mode set the value Option3 = OptionSquare. |
Symbology constants
Constant | Value | Description |
---|---|---|
BarcodeAuspost | 63 |
Australia Post Standard Customer |
BarcodeAusredirect | 68 |
Australia Post Redirection |
BarcodeAusreply | 66 |
Australia Post Reply Paid |
BarcodeAusroute | 67 |
Australia Post Routing |
BarcodeAzrune | 128 |
Aztec Runes |
BarcodeAztec | 92 |
Aztec Code |
BarcodeC25Iata | 4 |
Code 2 of 5 IATA |
BarcodeC25Ind | 7 |
Code 2 of 5 Industrial |
BarcodeC25Inter | 3 |
Interleaved 2 of 5 |
BarcodeC25Logic | 6 |
Code 2 of 5 Data Logic |
BarcodeC25Matrix | 2 |
Standard Code 2 of 5 |
BarcodeChannel | 140 |
Channel Code |
BarcodeCodabar | 18 |
Codabar |
BarcodeCodablockf | 74 |
Coda Block F |
BarcodeCode11 | 1 |
Code 11 |
BarcodeCode128 | 20 |
Code 128 (automatic subset switching) Example |
BarcodeCode128B | 60 |
Code 128 (Subset B) |
BarcodeCode16K | 23 |
Code 16K |
BarcodeCode32 | 129 |
Code 32 |
BarcodeCode39 | 8 |
Code 3 of 9 (Code 39) Example |
BarcodeCode49 | 24 |
Code 49 |
BarcodeCode93 | 25 |
Code 93 |
BarcodeCodeone | 141 |
Code One |
BarcodeDaft | 93 |
DAFT Code |
BarcodeDatamatrix | 71 |
Data Matrix Example |
BarcodeDotCode | 115 |
DotCode |
BarcodeDPD | 96 |
DPD Code. |
BarcodeDpident | 22 |
Deutsche Post Identcode |
BarcodeDpleit | 21 |
Deutsche Post Leitcode |
BarcodeEan128 | 16 |
GS1-128 Example |
BarcodeEan128Cc | 131 |
Composite Symbol with GS1-128 linear component |
BarcodeEan13 | 13 | |
BarcodeEan14 | 72 |
EAN-14 |
BarcodeEan8 | 13 | |
BarcodeEANCheck | 14 |
EAN Checks |
BarcodeEanx | 13 |
EAN Example |
BarcodeEanxCc | 130 |
Composite Symbol with EAN linear component |
BarcodeExcode39 | 9 |
Extended Code 3 of 9 (Code 39+) |
BarcodeFim | 49 |
FIM |
BarcodeFlat | 28 |
Flattermarken |
BarcodeGridmatrix | 142 |
Grid Matrix |
BarcodeHanXin | 116 |
HanXin |
BarcodeHibc128 | 98 |
HIBC Code 128 |
BarcodeHibc39 | 99 |
HIBC Code 39 |
BarcodeHibcAztec | 112 |
HIBC Aztec Code |
BarcodeHibcBlockf | 110 |
HIBC Block F |
BarcodeHibcDm | 102 |
HIBC Data Matrix |
BarcodeHibcMicpdf | 108 |
HIBC MicroPDF417 |
BarcodeHibcPdf | 106 |
HIBC PDF417 |
BarcodeHibcQr | 104 |
HIBC QR Code |
BarcodeIsbnx | 69 |
ISBN (EAN-13 with verification stage) |
BarcodeItf14 | 89 |
ITF-14 |
BarcodeJapanpost | 76 |
Japanese Post |
BarcodeKix | 90 |
Dutch Post KIX Code |
BarcodeKoreapost | 77 |
Korea Post |
BarcodeLogmars | 50 |
LOGMARS |
BarcodeMailMark | 121 |
Mailmark |
BarcodeMaxicode | 57 |
Maxicode |
BarcodeMicropdf417 | 84 |
MicroPDF417 |
BarcodeMicroqr | 97 |
Micro QR Code |
BarcodeMsiPlessey | 47 |
MSI Plessey |
BarcodeNve18 | 75 |
NVE-18 |
BarcodeOnecode | 85 |
USPS OneCode |
BarcodePdf417 | 55 |
PDF417 Example |
BarcodePdf417Trunc | 56 |
PDF417 Truncated |
BarcodePharma | 51 |
Pharmacode One-Track |
BarcodePharmaTwo | 53 |
Pharmacode Two-Track |
BarcodePlanet | 82 |
PLANET |
BarcodePlessey | 86 |
Plessey Code |
BarcodePostnet | 40 |
PostNet |
BarcodePzn | 52 |
PZN |
BarcodeQrcode | 58 |
QR Code Example |
BarcodeRm4Scc | 70 |
Royal Mail 4 State (RM4SCC) |
BarcodeRss14 | 29 |
GS1 DataBar-14 |
BarcodeRss14Cc | 132 |
Composite Symbol with GS1 DataBar-14 linear component |
BarcodeRss14OmniCc | 138 |
Composite Symbol with GS1 DataBar-14 Stacked Omnidirectional component |
BarcodeRss14Stack | 79 |
GS1 DataBar-14 Stacked |
BarcodeRss14StackCc | 137 |
Composite Symbol with GS1 DataBar-14 Stacked component |
BarcodeRss14StackOmni | 80 |
GS1 DataBar-14 Stacked Omnidirectional |
BarcodeRssExp | 31 |
GS1 DataBar Expanded |
BarcodeRssExpCc | 134 |
Composite Symbol with GS1 DataBar Extended component |
BarcodeRssExpstack | 81 |
GS1 DataBar Expanded Stacked |
BarcodeRssExpstackCc | 139 |
Composite Symbol with GS1 DataBar Expanded Stacked component |
BarcodeRssLtd | 30 |
GS1 DataBar Limited |
BarcodeRssLtdCc | 133 |
Composite Symbol with GS1 DataBar Limited component |
BarcodeTelepen | 32 |
Telepen Alpha |
BarcodeTelepenNum | 87 |
Telepen Numeric |
BarcodeUltra | 144 |
Ultra |
BarcodeUpca | 34 |
UPC A Example |
BarcodeUpcaCc | 135 |
Composite Symbol with UPC A linear component |
BarcodeUPCACheck | 35 |
UPCA Check |
BarcodeUpce | 37 |
UPC E Example |
BarcodeUpceCc | 136 |
Composite Symbol with UPC E linear component |
BarcodeUPCECheck | 38 |
UPCE Check |
BarcodeUPNQR | 143 |
UPNQR |
BarcodeVin | 73 |
Vin |
Error Constants
Constant | Value | Description |
---|---|---|
ErrorEncodingProblem | 9 |
A problem has occurred during encoding of the data. This should never happen. Please contact the developer if you encounter this error. |
ErrorFileAccess | 10 |
Zint was unable to open the requested output file. This is usually a file permissions problem. |
ErrorFileWrite | 12 |
Error writing to output file. |
ErrorInvalidCheck | 7 |
An ISBN with an incorrect check digit has been entered. No symbol has been generated. |
ErrorInvalidData | 6 |
The data to be encoded includes characters which are not permitted by the selected symbology (e.g. alphabetic characters in an EAN symbol). No symbol has been generated. |
ErrorInvalidOption | 8 |
One of the values in zint_struct was set incorrectly and Zint was unable to guess what it should have been. No symbol has been generated. |
ErrorMemory | 11 |
Zint ran out of memory. This should only be a problem with legacy systems. |
ErrorNonComppilant | 14 |
Error reporting that symbol created is not compliant with standards. |
ErrorTooLong | 5 |
The input data is too long or too short for the selected symbology. No symbol has been generated. |
ErrorUsesECI | 13 |
Error reporting that ECI is needed. |
WarnInvalidOption | 2 |
One of the values was set incorrectly but Zint has made a guess at what it should have been and generated a barcode accordingly. |
WarnUseECI | 3 |
The warning to use ECI. |
Input Modes
Constant | Value | Description |
---|---|---|
InputModeData | 0 |
Uses full ASCII range interpreted as Latin-1 or binary data. |
InputModeEscape | 8 |
Additional flag to escape. |
InputModeGS1 | 2 |
Encodes GS1 data using FNC1 characters. |
InputModeKanji | 3 |
Kanji |
InputModeSJIS | 4 |
SJJS |
InputModeUnicode | 1 |
Uses pre-formatted UTF-8 input. |
Output Options
Constant | Value | Description |
---|---|---|
OptionDMRE | 101 | |
OutputOptionBind | 2 |
Boundary bars above and below the symbol and between rows if stacking multiple symbols. You can set BorderWidth for the size of the bind. |
OutputOptionBoldText | 64 |
Use bold text. Example |
OutputOptionBox | 4 |
Add a box surrounding the symbol and whitespace. You can set BorderWidth for the size of the box. |
OutputOptionCMYKColors | 128 |
use CMYK colors for Postscript output. For images, you can use plugin functions to convert RGB to CMYK if needed. Example |
OutputOptionDottyMode | 256 |
Raster in dotty mode. |
OutputOptionGS1_GS_Separator | 512 |
Use GS Separator for DataMatrix. |
OutputOptionNoASCII | 1 |
No longer used. |
OutputOptionNone | 0 |
No box or boundary bars. |
OutputOptionNoQuietZones | 4096 |
Disable quiet zones, notably those with defaults as listed above. |
OutputOptionQuietZones | 2048 |
Add compliant quiet zones (additional to any specified whitespace) Note: CODE16K, CODE49, CODABLOCKF, ITF14, EAN/UPC have default quiet zones |
OutputOptionReaderInit | 16 |
Include reader initialize sequence in barcode. |
OutputOptionSmallText | 32 |
Use small text. Example |
OutputOptionStdOut | 8 |
Write to stdout. |