General Function Calls | These function calls are required to produce a barcode with standard settings. The barcode can then be drawn on a device context using BCDraw() or written to file using BCPostscriptToFile() (or similar). Some of these functions are only necessary for applications which are using a static library of TBarCode |
▼Barcode Settings | Functions to change barcode settings (barcode type, barcode data, appearance, size, etc) |
Barcode Type (Symbology) | Functions for handling the barcode type (barcode symbology). Set the barcode type after BCAlloc(), but before BCCreate() |
Barcode Data | Functions for handling the barcode data. Call them after BCAlloc() but before BCCreate() |
Appearance | Modify the general appearance of a barcode with these functions |
Colors | Modify the colors for the barcode, background and human readable text |
Bar:Space Print-Ratio | Modify the so-called print-ratio of a barcode with these functions. TBarCode uses the standard-print ratio for each barcode symbology. Some industry standards enforce the implementation of special print-ratios |
Quiet Zone | Beside in EAN and UPC barcodes, TBarCode does not include quiet zones into the generated barcode. The functions available in this section provide an easy way to add quiet zones to the barcodes |
Human Readable Text | Functions for the human readable text of a barcode |
Check-Digits | Modifies the behavior of TBarCode regarding check-digit computation |
Size Queries | Functions for retrieving the size of the barcode |
Module Width and Barcode Quality | Functions for specifying how the module width of the barcode should be set. Under normal circumstances TBarCode computes the module width automatically. For some applications this standard behavior must be changed. These functions also support the user when optimizing barcode quality (and therefore enhancing readability) |
Barcode Options | Functions for specifying barcode settings via the option interface |
▼Drawing and Saving Barcodes | Functions for drawing and saving barcodes.
|
▼Windows GDI | Functions for drawing or printing a barcode onto a device via a Windows GDI device context |
Clipboard | Copy generated barcodes onto the clipboard |
Metafiles | Saving barcodes as Enhanced Metafiles |
Bitmap Images | Saving barcodes as various graphic files (BMP, GIF, JPG, etc). Windows only! |
Bitmap Images | Saving barcodes as bitmaps (BMP, GIF, JPG, PNG or TIF). NOTE: Text output (HRT) is not supported on all platforms |
PCL | Saving barcodes in PCL format |
Postscript | Saving barcodes in Postscript format |
PDF | Saving barcodes in PDF format. NOTE: Text output (HRT) is not supported |
AI | Saving barcodes in AI format (Adobe Illustrator® 7). NOTE: Text output (HRT) is not supported on all platforms |
SVG | Saving barcodes in SVG format |
Customized Drawing (Callbacks) | The standard functionality of TBarCode for drawing/saving barcodes may be customized with these call-back functions. For simple barcode generating/barcode printing applications these call-back functions are not required |
Multiple Barcodes | Functions for drawing multiple barcodes which are necessary if a large amount of information should be encoded |
▼2D Barcodes and Special Symbologies | This section describes support for 2D barcodes and other advanced symbologies |
PDF417 and MicroPDF | These functions are used for modifying the behavior of TBarCode when generating PDF417, MacroPDF and MicroPDF symbologies |
MaxiCode | These functions are used for modifying the behavior of TBarCode when generating the Maxicode symbology |
Data Matrix | These functions are used for modifying the behavior of TBarCode when generating the Data Matrix symbology |
QR-Code | These functions are used for modifying the behavior of TBarCode when generating the QR-Code symbology |
Codablock F | These functions are used for modifying the behavior of TBarCode when generating the Codablock-F symbology |
GS1 / EAN / UCC Composite Symbology | These functions are used for modifying the behavior of TBarCode when generating GS1-symbologies |
GS1 DataBar / RSS (Reduced Space Symbology) | These functions are used for modifying the behavior of TBarCode when generating GS1 DataBar-symbologies |
Aztec Code | These functions are used for modifying the behavior of TBarCode when generating the Aztec Code symbology |
DotCode | These functions are used for modifying the behavior of TBarCode when generating the DotCode symbology |
Han Xin Code | These functions are used for modifying the behavior of TBarCode when generating the Han Xin Code symbology |
▼Error Handling | Error handling functions |
Error Codes | The following table lists all error codes that can be returned by TBarCode. Operating system specific error codes are not included. The error codes are listed in hexadecimal notation (0x) and as enumerator constants (members of the enumeration e_ErrorCode) |
Example | This example shows the error handling concept of TBarCode. If BCCreate() returns any value other than zero (ErrOK) you might use the following function to get detailled information about the occured error.
For retrieving error texts see also BCGetErrorTextExt() |