Difference between revisions of "LazBarcodes"

From Lazarus wiki
Jump to navigationJump to search
(→‎Change Log: v.1.0.3)
(→‎About: Beginning to add 1D codes.)
Line 1: Line 1:
 
=== About ===
 
=== About ===
''LazBarcodes'' is a set of controls to create 1D and 2D barcodes. The backend engine is a port of [http://sourceforge.net/projects/zint/ Zint] at sourceforge.
+
''LazBarcodes'' is a set of controls to create 1D and 2D barcodes. The backend engine is a port of [http://sourceforge.net/projects/zint/ Zint] at sourceforge. Some units were heavily refactored to obtain a more Pascal-like code.
  
Currently it supports the generation of 2D barcodes :
+
The library supports the generation of 1D and 2D barcodes:
  
[[Image:Tbarcodeqr.png‎]] QR Code [http://en.wikipedia.org/wiki/Qr_code]
+
* '''1D barcodes'''
 +
** [[Image:tbarcodec11.png]] <tt>TLazBarcodeC11</tt>: [https://en.wikipedia.org/wiki/Code_11 '''Code-11''']: max 121 numeric characters (<tt>'0'..'9'</tt>)
 +
** [[Image:tbarcodec128.png]] <tt>TLazBarcodeC128</tt>: Supports two types
 +
*** [https://en.wikipedia.org/wiki/Code_128 '''Code-128''']: max 160 text characters (ASCII)
 +
*** [https://en.wikipedia.org/wiki/GS1-128 '''UCC/EAN-128'''], also known as '''GS1-128''': variable length depending on "Appication Identifier" to be given in square brackets. Numeric characters only.
  
[[Image:Tbarcodemicroqr.png]] MicroQR [http://en.wikipedia.org/wiki/Qr_code#Variants]
+
* '''2D barcodes'''
 
+
**[[Image:Tbarcodeqr.png‎]] <tt>TLazBarcodeQR</tt>: '''QR Code''' [http://en.wikipedia.org/wiki/Qr_code]
[[Image:Tbarcodeaztec.png]] Aztec Code [http://en.wikipedia.org/wiki/Aztec_Code]
+
**[[Image:Tbarcodemicroqr.png]] <tt>TLazBarcodeMicroQR</tt>: '''MicroQR''' [http://en.wikipedia.org/wiki/Qr_code#Variants]
 
+
**[[Image:Tbarcodeaztec.png]] <tt>TLazBarcodeAztec</tt>: '''Aztec Code''' [http://en.wikipedia.org/wiki/Aztec_Code]
[[Image:Tbarcodeaztecrune.png]] Aztec Rune [http://en.wikipedia.org/wiki/Aztec_Code#Encoding]
+
**[[Image:Tbarcodeaztecrune.png]] <tt>TLazBarcodeAztecRun</tt>: '''Aztec Rune''' [http://en.wikipedia.org/wiki/Aztec_Code#Encoding]
 
+
**[[Image:Tbarcodedatamatrix.png]] <tt>TLazBarcodeDataMatrix</tt>: '''DataMatrix''' [http://en.wikipedia.org/wiki/Data_Matrix]
[[Image:Tbarcodedatamatrix.png]] DataMatrix [http://en.wikipedia.org/wiki/Data_Matrix]
 
  
 
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.
 
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.

Revision as of 12:11, 17 February 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 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

  • None by now.

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.