Difference between revisions of "LazBarcodes"

From Lazarus wiki
Jump to navigationJump to search
(→‎1D barcodes: Add UPC/EAN)
Line 58: Line 58:
 
=== Change Log ===
 
=== Change Log ===
  
 +
* v2.0.0: Added a lot of 1D barcodes
 
* v1.0.3: Internally used units renamed to avoid naming conflict with CodeTyphon package PL_APE.
 
* 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
 
* v1.0.2: Change of license from GPL to BSD

Revision as of 14:13, 11 March 2022

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 TBarcodeC11:
    • Code-11: max 121 numeric characters ('0'..'9')
  • tbarcodec128.png TBarcodeC128: Property BarcodeType allows to select one of the subsets:
  • tbarcode3of9.png TBarcode3of9: supports the following subsets via property BarcodeType:
    • bctCode39: Code 3-of-9 (C39) - up to 74 characters: numeric, uppercase-alpha and some special characters (-. $/+%abcd).
    • bctCode39Ext: Extended Code 3-of-9 (C39+) - up to 74 characters, all ASCII characters allowed (< #128).
    • bctLOGMARS: LOGMARS - like C39, different wide bar width.
    • bctCode93: Code-93 - up to 107 characters like C39.
  • tbarcodeean.png TBarcodeEAN: supports the following subsets via property BarcodeType:
    • bctEAN: EAN-8 and EAN-13 - up to 13 numeric digits
    • bctEAN14: EAN-14 - up to 13 numeric digits
    • bctISBN: ISBN - 9, 10 or 13 numeric characters or 'X'
    • bctNVE18: NVE-18 - up to 25 numeric digits
    • bctUPCA: UPC-A - up to 10 numeric digits (plus 2 check digits)
    • bctUPCE: UPC-E - up to 7 numeric digits

2D barcodes

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

  • v2.0.0: Added a lot of 1D barcodes
  • 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.