LazBarcodes

From Lazarus wiki
Revision as of 12:14, 17 February 2022 by Wp (talk | contribs) (→‎Screenshot: Add screenshot)
Jump to navigationJump to search

About

LazBarcodes is a set of controls to create 1D and 2D barcodes. The backend engine is a port of Zint at sourceforge. Some units were heavily refactored to obtain a more Pascal-like code.

The library supports the generation of 1D and 2D barcodes:

  • 1D barcodes
    • tbarcodec11.png TLazBarcodeC11: Code-11: max 121 numeric characters ('0'..'9')
    • tbarcodec128.png TLazBarcodeC128: Supports two types
      • Code-128: max 160 text characters (ASCII)
      • UCC/EAN-128, also known as GS1-128: variable length depending on "Appication Identifier" to be given in square brackets. Numeric characters only.
  • 2D barcodes
    • Tbarcodeqr.png TLazBarcodeQR: QR Code [1]
    • Tbarcodemicroqr.png TLazBarcodeMicroQR: MicroQR [2]
    • Tbarcodeaztec.png TLazBarcodeAztec: Aztec Code [3]
    • Tbarcodeaztecrune.png TLazBarcodeAztecRun: Aztec Rune [4]
    • Tbarcodedatamatrix.png TLazBarcodeDataMatrix: DataMatrix [5]

The download contains the packages "lazbarcodes" and "lazbarcodes_runtimeonly". The first one gives you visual components of the above barcodes and the second can be used just to access the ported zint code for advanced barcode generation.

Screenshot

lazbarcodes demo.png

Author

2011 - Jose Mejuto

License

BSD 3 as it is being inherited from the zint source code.

Download

The latest source code can be found on Lazarus-CCR

Change Log

  • v1.0.3: Internally used units renamed to avoid naming conflict with CodeTyphon package PL_APE.
  • v1.0.2: Change of license from GPL to BSD
  • Initial development.

Dependencies / System Requirements

  • None

Status: In development

Issues: None by now.

Installation

  • Step 1: Compile the package "lazbarcodes_runtimeonly".
  • Step 2: Install the package "lazbarcodes".

Final notes

If you need the generation of another barcode and it is present in Zint, please ask for it in the Lazarus forum or mailing lists.