Sign in Join
Wiki copytemporary

Revision 1 of 3, by Wp on 9-17-2023. The page as it is now.

LazBarcodes

General

<figure> <img src="lazbarcodes_demo.png" title="lazbarcodes_demo.png" /> <figcaption>lazbarcodes_demo.png</figcaption> </figure>

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:

Author

2011 - Jose Mejuto

License

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

Dependencies / System Requirements

Getting LazBarcodes

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.

Development version

The latest source code can be found on Lazarus-CCR. Use SVN to load the source files, or download the "Snapshot" by clicking on the corresponding button of the sourceforge site and unzip it to some directory. For installation go to "Package" > "Load package file (*.lpk)", navigate to the folder with the downloaded sources and load the fole lazbarcodes_runtimeonly.lpk. Then load the package lazbarcodes.lpk. Click "Use" > "Install", and confirm the question to rebuild the IDE. After some time the IDE restarts, and you find the barcodes in the "LazBarcodes" tab of the component palette.

Release version

Occasionally a release version is prepared and made available for easy installation by means of the Online-Package-Manager in the Lazarus IDE. Open "Package" > "Online package manager", check the item "LazBarcodes" in the list and click "Install". Again, confirm the question to rebuild the IDE. When the IDE restarts after some time you find the barcodes in the "LazBarcodes" tab of the component palette.

Change Log

Documentation

General

The components installed by the LazBarcodes package descent from TGraphicControl and thus inherit fundamental control properties such as Width, Height, AutoSize, etc. They share a variety of other properties and methods; some properties, however, are not published fwhen they are not appropriate for the current barcode type.

Properties

Methods

Components

1D codes

<table> <thead> <tr> <th>Component</th> <th>BarcodeType</th> <th>Name</th> <th>Application</th> <th>Allowed chars</th> <th>Text length</th> <th>Reference</th> </tr> </thead> <tbody> <tr> <td rowspan="6"><code>TBarcode2of5</code><br /> <img src="tbarcode2of5.png" title="tbarcode2of5.png" alt="tbarcode2of5.png" /></td> <td><code>bctCode25Standard</code></td> <td>Standard 2-of-5, or<br /> Matrix 2-of-5</td> <td>Warehouse sorting<br /> photo finishing<br /> airline ticket marking</td> <td><code>'0'..'9'</code></td> <td>up to 80</td> <td><a href="https://en.wikipedia.org/wiki/Matrix_2_of_5"><span>https://en.wikipedia.org/wiki/Matrix_2_of_5</span></a></td> </tr> <tr> <td><code>bctCode25DataLogic</code></td> <td>DataLogic 2-of-5</td> <td>Processing and sorting of mail for the Chinese Postal Service</td> <td><code>'0'..'9'</code></td> <td>up to 80</td> <td><a href="https://en.wikipedia.org/wiki/Matrix_2_of_5"><span>https://en.wikipedia.org/wiki/Matrix_2_of_5</span></a></td> </tr> <tr> <td><code>bctCode25IATA</code></td> <td>IATA 2-of-5</td> <td>Airline cargo</td> <td><code>'0'..'9'</code></td> <td>up to 45</td> <td><a href="https://en.wikipedia.org/wiki/Industrial_2_of_5#IATA_2_of_5"><span>https://en.wikipedia.org/wiki/Industrial_2_of_5#IATA_2_of_5</span></a></td> </tr> <tr> <td><code>bctCode25Industrial</code></td> <td>Industrial 2-of-5</td> <td>Cardboard printing<br /> photo developing envelopes<br /> warehouse sorting systems</td> <td><code>'0'..'9'</code></td> <td>up to 45</td> <td><a href="https://en.wikipedia.org/wiki/Industrial_2_of_5"><span>https://en.wikipedia.org/wiki/Industrial_2_of_5</span></a></td> </tr> <tr> <td><code>bctCode25Interleaved</code></td> <td>Interleaved 2-of-5</td> <td>135 film<br /> cartons of some products</tt></td> <td><code>'0'..'9'</code></td> <td>up to 89</td> <td><a href="https://en.wikipedia.org/wiki/Interleaved_2_of_5"><span>https://en.wikipedia.org/wiki/Interleaved_2_of_5</span></a></td> </tr> <tr> <td><code>bctITF14</code></td> <td>ITF-14</td> <td>Packaging levels of a product</td> <td><code>'0'..'9'</code></td> <td>up to 13</td> <td><a href="https://en.wikipedia.org/wiki/ITF-14"><span>https://en.wikipedia.org/wiki/ITF-14</span></a></td> </tr> <tr> <td rowspan="3"><code>TBarcode3of9</code><br /> <img src="tbarcode3of9.png" title="tbarcode3of9.png" alt="tbarcode3of9.png" /></td> <td><code>bctCode39</code><br /> <code>bctLOGMARS</code></tt></td> <td>Code 3-of-9 (C39)<br /> LOGMARS</td> <td>Name badges, inventory and<br /> industrial applications<br /> LOGMARS: different bar widths</td> <td><code>'0'..'9', 'A'..'Z', ' ',</code><br /> <code>'–', '.', '$', '/', '+', '%'</code></td> <td>up to 74</td> <td><a href="https://en.wikipedia.org/wiki/Code_39"><span>https://en.wikipedia.org/wiki/Code_39</span></a></td> </tr> <tr> <td><tt>bctCode39Ext</td> <td>Extended Code 3-of-9<br /> (C39ext)</td> <td>Name badges, inventory and<br /> industrial applications</td> <td><code>#0..#127</code></td> <td>up to 74</td> <td><a href="https://en.wikipedia.org/wiki/Code_39#Full_ASCII_Code_39"><span>https://en.wikipedia.org/wiki/Code_39#Full_ASCII_Code_39</span></a></td> </tr> <tr> <td><tt>bctCode93</td> <td>Code-93</td> <td>Canada post</td> <td>like C39</td> <td>up to 107</td> <td><a href="https://en.wikipedia.org/wiki/Code_93"><span>https://en.wikipedia.org/wiki/Code_93</span></a></td> </tr> <tr> <td><code>TBarcodeC11</code><br /> <img src="tbarcodec11.png" title="tbarcodec11.png" alt="tbarcodec11.png" /></td> <td></td> <td>Code-11</td> <td>Telecommunication</td> <td><code>'0'..'9', '-'</code></td> <td>up to 121</td> <td><a href="https://en.wikipedia.org/wiki/Code_11"><span>https://en.wikipedia.org/wiki/Code_11</span></a></td> </tr> <tr> <td rowspan="2"><code>TBarcodeC128</code><br /> <img src="tbarcodec128.png" title="tbarcodec128.png" alt="tbarcodec128.png" /></td> <td><code>bctC128</code></td> <td>Code-128</td> <td>Industrial applications</td> <td><code>#0..#127</code></td> <td>up to 160</td> <td><a href="https://en.wikipedia.org/wiki/Code_128"><span>https://en.wikipedia.org/wiki/Code_128</span></a></td> </tr> <tr> <td><code>bctEAN128</code></td> <td>EAN-128, or<br /> GS1-128</td> <td>Industrial applications</td> <td><tt>#0..#127</td> <td>Depending on "Application identifier"<br /> to be given in square parenthesis</td> <td><a href="https://en.wikipedia.org/wiki/GS1-128"><span>https://en.wikipedia.org/wiki/GS1-128</span></a>]</td> </tr> <tr> <td><code>TBarcodeChannelCode</code><br /> <img src="tbarcodechannelcode.png" title="tbarcodechannelcode.png" alt="tbarcodechannelcode.png" /></td> <td></td> <td>Channel Code</td> <td>high densitiy codes</td> <td><code>'0'..'9'</code></td> <td>up to 7</td> <td><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/Channel_Code.htm"><span>https://barcodeguide.seagullscientific.com/Content/Symbologies/Channel_Code.htm</span></a></td> </tr> <tr> <td rowspan="6"><code>TBarcodeEAN</code><br /> <img src="tbarcodeean.png" title="tbarcodeean.png" alt="tbarcodeean.png" /></td> <td><tt>bctEAN</td> <td>EAN-8, EAN-13</td> <td>Article numbers</td> <td><code>'0'..'9'</code><br /> <code>'+'</code> for addon code</td> <td>up to 19</td> <td><a href="https://en.wikipedia.org/wiki/International_Article_Number"><span>https://en.wikipedia.org/wiki/International_Article_Number</span></a>]</td> </tr> <tr> <td>| <code>bctEAN14</code></td> <td>EAN-14</td> <td>Trading goods</td> <td><code>'0'..'9'</code></td> <td>up to 13</td> <td><a href="https://www.barcodestalk.com/ean14"><span>https://www.barcodestalk.com/ean14</span></a></td> </tr> <tr> <td>| <code>bctISBN</code></td> <td>ISBN</td> <td>Books</td> <td><code>'0'..'9', 'X'</code><br /> <code>'+'</code> for addon code</td> <td>9, 10 or 13</td> <td><a href="https://en.wikipedia.org/wiki/International_Standard_Book_Number"><span>https://en.wikipedia.org/wiki/International_Standard_Book_Number</span></a></td> </tr> <tr> <td>| <code>bctNVE18</code></td> <td>NVE-18</td> <td>Shipping and storage</td> <td><tt>'0'..'9'</td> <td>up to 25</td> <td></td> </tr> <tr> <td>| <code>bctUPCA</code></td> <td>UPC/A</td> <td>Trade items</td> <td><code>'0'..'9'</code><br /> <code>'+'</code> for addon code</td> <td>up to 10<br /> plus 2 check digits</td> <td><a href="https://en.wikipedia.org/wiki/Universal_Product_Code"><span>https://en.wikipedia.org/wiki/Universal_Product_Code</span></a></td> </tr> <tr> <td>| <code>bctUPCE</code></td> <td>UPC/E</td> <td>Trade items<br /> (more compact than UPC/A)</td> <td><code>'0'..'9'</code><br /> <code>'+'</code> for addon code</td> <td>up to 7</td> <td><a href="https://en.wikipedia.org/wiki/Universal_Product_Code#UPC-E"><span>https://en.wikipedia.org/wiki/Universal_Product_Code#UPC-E</span></a></td> </tr> <tr> <td rowspan="6"><code>TBarcodeMedical</code><br /> <img src="tbarcodemedical.png" title="tbarcodemedical.png" alt="tbarcodemedical.png" /></td> <td><code>bctCodabar</code></td> <td>Codabar</td> <td>Blood identification</td> <td><code>'0'..'9', '-', '$', ':', '/', '.', '+', 'A', 'B', 'C', 'D'</code></td> <td>up to 60</td> <td><a href="https://en.wikipedia.org/wiki/Codabar"><span>https://en.wikipedia.org/wiki/Codabar</span></a></td> </tr> <tr> <td>| <code>bctCode32</code></td> <td>Code 32 (Italian PHARMACODE)</td> <td>Pharmaceutical products in Italy</td> <td><code>'0'..'9'</code></td> <td>up to 8</td> <td><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/Code_32.htm"><span>https://barcodeguide.seagullscientific.com/Content/Symbologies/Code_32.htm</span></a></td> </tr> <tr> <td>| <code>bctPharmaOne</code></td> <td>Pharmacode One-Track</td> <td>Packaging of pharmaceutical products</td> <td><code>'0'..'9'</code></td> <td>up to 6</td> <td><a href="https://barcode-test.com/301/what-is-pharmacode/"><span>https://barcode-test.com/301/what-is-pharmacode/</span></a></td> </tr> <tr> <td>| <code>bctPharmaTwo</code></td> <td>Pharmacode Two-Track</td> <td>Packaging of pharmaceutical products</td> <td><code>'0'..'9'</code></td> <td>up to 8</td> <td><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/TwoTrackPharmacode.htm"><span>https://barcodeguide.seagullscientific.com/Content/Symbologies/TwoTrackPharmacode.htm</span></a></td> </tr> <tr> <td>| <code>bctPZN7</code></td> <td rowspan="2">Pharmazentralnummer (PZN)</td> <td rowspan="2">Identification of pharmaceutical products (Germany, Austria)</td> <td rowspan="2"><code>'0'..'9'</code></td> <td>7 (6 by user + 1 auto-generated check digit)</td> <td rowspan="2"><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/PZN.htm">https://barcodeguide.seagullscientific.com/Content/Symbologies/PZN.htm</a></td> </tr> <tr> <td>| <code>bctPZN8</code></td> <td>8 (7 by user + 1 auto-generated check digit)</td> </tr> <tr> <td rowspan="2"><code>TBarcodePlessey</code><br /> <img src="tbarcodeplessey.png" title="tbarcodeplessey.png" alt="tbarcodeplessey.png" /></td> <td><code>bctPlessey</code></td> <td>Plessey</td> <td rowspan="2">Shelf tags in retail stores</td> <td><code>'0'..'9', 'A'..'F'</code></td> <td>up to 65</td> <td><a href="https://en.wikipedia.org/wiki/Plessey_Code">https://en.wikipedia.org/wiki/Plessey_Code</a></td> </tr> <tr> <td>| <code>bctMSIPlessey</code></td> <td>MSI/Plessey</td> <td><tt>'0'..'9'</td> <td>depending on checkdigits<br /> (see <code>CheckChar</code> property below)</td> <td><a href="https://en.wikipedia.org/wiki/MSI_Barcode"><span>https://en.wikipedia.org/wiki/MSI_Barcode</span></a></td> </tr> <tr> <td rowspan="14"><code>TBarcodePostal</code><br /> <img src="tbarcodepostal.png" title="tbarcodepostal.png" alt="tbarcodepostal.png" /></td> <td><code>bctAustraliaPostCustomer</code></td> <td>Australia Post Standard Customer Barcode</td> <td rowspan="4">Postal code and automatic mail sorting in Australia</td> <td><code>'0'..'9', 'A'..'Z', 'a'..'z'</code>, space and hash (<code>'#'</code>)</td> <td>8, 13, 16, 18, or 23</td> <td rowspan="4"><a href="http://www.neodynamic.com/Products/Help/BarcodeWPF3.0/barcodes/AustraliaPost.htm">http://www.neodynamic.com/Products/Help/BarcodeWPF3.0/barcodes/AustraliaPost.htm</a><br /> <a href="http://fileformats.archiveteam.org/wiki/Australia_Post_standard_customer_barcode">http://fileformats.archiveteam.org/wiki/Australia_Post_standard_customer_barcode</a></td> </tr> <tr> <td><code>bctAustraliaPostReplyPaid</code></td> <td>Australia Post Reply Paid</td> <td><code>'0'..'9'</code></td> <td>8</td> </tr> <tr> <td><code>bctAustraliaPostRoute</code></td> <td>Australia Post Routing</td> <td><code>'0'..'9'</code></td> <td>8</td> </tr> <tr> <td><code>bctAustraliaPostRedirect</code></td> <td>Australia Post Redirection</td> <td><code>'0'..'9'</code></td> <td>8</td> </tr> <tr> <td><code>bctDAFT</code></td> <td>DAFT Code</td> <td>Generic system of transcribing 4-state barcodes where the data encoding is provided by an external program.</td> <td><code>'D'</code>: Descender<br /> <code>'A'</code>: Ascender<br /> <code>'F'</code>: Full height<br /> <code>'T'</code>: Tracker (short bar)</td> <td>up to 50</td> <td><a href="https://www.neodynamic.com/barcodes/DAFT-4-state-Barcode.aspx">https://www.neodynamic.com/barcodes/DAFT-4-state-Barcode.aspx</a></td> </tr> <tr> <td><code>bctDeutschePostIdentCode</code></td> <td>Deutsche Post Identcode</td> <td>Mail routing in Germany</td> <td><code>'0'..'9'</code></td> <td>(up to) 11 digits</td> <td><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/Identcode.htm">https://barcodeguide.seagullscientific.com/Content/Symbologies/Identcode.htm</a></td> </tr> <tr> <td><code>bctDeutschePostLeitCode</code></td> <td>Deutsche Post Leitcode</td> <td>Specifies destination for mail in Germany</td> <td><code>'0'..'9'</code></td> <td>(up to) 14 digits</td> <td><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/Leitcode.htm">https://barcodeguide.seagullscientific.com/Content/Symbologies/Leitcode.htm</a></td> </tr> <tr> <td><code>bctFIM</code></td> <td>FIM (Facing Identification Mark)</td> <td>Automatic facing, or orientation, of the mail piece for cancellation</td> <td><code>'A'..'D', 'a'..'d'</code></td> <td>1</td> <td><a href="https://en.wikipedia.org/wiki/Facing_Identification_Mark">https://en.wikipedia.org/wiki/Facing_Identification_Mark</a></td> </tr> <tr> <td><code>bctJapanPost</code></td> <td>Japanese Post 4-State Customer Code</td> <td>Encodes addresses on mail for faster automatic processing in Japan</td> <td><tt>'0'..'9', 'A'..'Z', '-'</td> <td></td> <td><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/Japanese_Postal.htm">https://barcodeguide.seagullscientific.com/Content/Symbologies/Japanese_Postal.htm</a> |---|</td> </tr> <tr> <td><code>bctKoreaPost</code></td> <td>Korean Postal Authority Code</td> <td>Automatic sorting of mail in Korea</td> <td><code>'0'..'9'</code></td> <td>up to 6 digits</td> <td><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/Korea_Post.htm">https://barcodeguide.seagullscientific.com/Content/Symbologies/Korea_Post.htm</a></td> </tr> <tr> <td><code>bctPlanet</code></td> <td>USPS PLANET (Postal Alpha Numeric Encoding Technique)</td> <td>Automatic identification, sorting, and tracking of pieces of mail in the U.S.</td> <td><code>'0'..'9'</code></td> <td>up to 38</td> <td><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/USPS_PLANET.htm">https://barcodeguide.seagullscientific.com/Content/Symbologies/USPS_PLANET.htm</a></td> </tr> <tr> <td><code>bctPostNet</code></td> <td>USPS POSTNET (Postal Numeric Encoding Technique)</td> <td>Sorting of business reply and courtesy reply mail in the U.S.</td> <td><code>'0'..'9'</code></td> <td>up to 38</td> <td><a href="https://en.wikipedia.org/wiki/POSTNET">https://en.wikipedia.org/wiki/POSTNET</a></td> </tr> <tr> <td><code>bctRM4SCC</code></td> <td>RM4SCC (Royal Mail 4-State Customer Code)</td> <td>Mail service in United Kingdom</td> <td><code>'0'..'9','A'..'Z'</code></td> <td>up to 120</td> <td><a href="https://en.wikipedia.org/wiki/RM4SCC">https://en.wikipedia.org/wiki/RM4SCC</a></td> </tr> <tr> <td rowspan="2"><code>TBarcodeTelepen</code><br /> <img src="tbarcodetelepen.png" title="tbarcodetelepen.png" alt="tbarcodetelepen.png" /></td> <td><code>bctTelepen</code></td> <td>Telepen Alpha</td> <td rowspan="2">University and other academic libraries in the UK</td> <td><code>#0..#127</code></td> <td>up to 30</td> </tr> <tr> <td>| <code>bctTelepenNum</code></td> <td>Telepen Numeric</td> <td><code>'0'..'9', 'X'</code><br /> 'X' must be at even character position.</td> <td>up to 60</td> <td></td> </tr> </tbody> </table>

Stacked barcodes

<table> <thead> <tr> <th>Component</th> <th>BarcodeType</th> <th>Name</th> <th>Application</th> <th>Allowed chars</th> <th>Text length</th> <th>Reference</th> </tr> </thead> <tbody> <tr> <td rowspan="3"><code>TBarcodePDF417</code><br /> <img src="tbarcodepdf417.png" title="tbarcodepdf417.png" alt="tbarcodepdf417.png" /></td> <td><code>bctPDF417</code></td> <td>PDF417 (Portable Data File)</td> <td rowspan="2">Government-issued identification cards (such as driver's licenses), airline boarding passes, postage stamps, package labels, etc.</td> <td rowspan="3"><code>#0..#255</code> (ISO-8859-1)</td> <td rowspan="2">up to 1850 alphanumeric, or 2710 numeric characters, or 1108 bytes</td> <td><a href="https://en.wikipedia.org/wiki/PDF417">https://en.wikipedia.org/wiki/PDF417</a></td> </tr> <tr> <td><code>bctPDF417trunc</code></td> <td>PDF417 truncated<br /> Compact PDF417</td> <td><a href="https://www.neodynamic.com/Products/Help/BarcodeCF2.0/barcodes/CompactPdf417.htm">https://www.neodynamic.com/Products/Help/BarcodeCF2.0/barcodes/CompactPdf417.htm</a></td> </tr> <tr> <td><code>bctMicroPDF417</code></td> <td>MicroPDF417</td> <td>Designed to encode a moderate amount of data in a very small space</td> <td>up to 250 alphanumeric or 366 numeric characters</td> <td><a href="https://barcodeguide.seagullscientific.com/Content/Symbologies/MicroPDF417.htm">https://barcodeguide.seagullscientific.com/Content/Symbologies/MicroPDF417.htm</a></td> </tr> </tbody> </table>

2D codes

<table> <thead> <tr> <th>Component</th> <th>Name</th> <th>Application</th> <th>Allowed chars</th> <th>Text length</th> <th>Reference</th> </tr> </thead> <tbody> <tr> <td><code>TBarcodeAztec</code><br /> <img src="tbarcodeaztec.png" title="tbarcodeaztec.png" alt="tbarcodeaztec.png" /></td> <td>Aztec Code</td> <td>Transport ticketing (Railroad, Airline). Governmental.</td> <td><code>#0..#255</code> interpreted as ISO-8859-1</td> <td>up to 3823 numeric or 3067 alphabetic characters or 1914 bytes of data</td> <td><a href="http://en.wikipedia.org/wiki/Aztec_Code"><span>http://en.wikipedia.org/wiki/Aztec_Code</span></a></td> </tr> <tr> <td><code>TBarcodeAztecRune</code><br /> <img src="tbarcodeaztecrune.png" title="tbarcodeaztecrune.png" alt="tbarcodeaztecrune.png" /></td> <td>Aztec Rune</td> <td>special</td> <td><code>'0'..'9'</code></td> <td>up to 3 (8-bit value <code>0..255</code>)</td> <td><a href="http://en.wikipedia.org/wiki/Aztec_Code#Encoding"><span>http://en.wikipedia.org/wiki/Aztec_Code#Encoding</span></a></td> </tr> <tr> <td><code>TBarcodeDatamatrix</code><br /> <img src="tbarcodedatamatrix.png" title="tbarcodedatamatrix.png" alt="tbarcodedatamatrix.png" /></td> <td>Data Matrix</td> <td>Direct part marking</td> <td>UTF-8</td> <td>up to 2335 alphanumeric characters, 3116 numbers, or 1556 bytes of binary data.</td> <td><a href="https://en.wikipedia.org/wiki/Data_Matrix"><span>https://en.wikipedia.org/wiki/Data_Matrix</span></a></td> </tr> <tr> <td><code>TBarcodeQR</code><br /> <img src="tbarcodeqr.png" title="tbarcodeqr.png" alt="tbarcodeqr.png" /></td> <td>QR Code</td> <td>Advertisement, web links, and many more</td> <td>UTF-8</td> <td>up to 7089 numeric digits, 4296 alphanumeric characters or 2953 bytes of data</td> <td><a href="https://en.wikipedia.org/wiki/QR_code"><span>https://en.wikipedia.org/wiki/QR_code</span></a></td> </tr> <tr> <td><code>TBarcodeMicroQR</code><br /> <img src="tbarcodemicroqr.png" title="tbarcodemicroqr.png" alt="tbarcodemicroqr.png" /></td> <td>Micro QR Code</td> <td>Like QR Code, preferred when less space is available</td> <td>UTF-8</td> <td>up to 35</td> <td><a href="http://en.wikipedia.org/wiki/Qr_code#Micro_QR_code"><span>http://en.wikipedia.org/wiki/Qr_code#Micro_QR_code</span></a></td> </tr> <tr> <td><code>TBarcodeMaxicode</code><br /> <img src="tbarcodemaxicode.png" title="tbarcodemaxicode.png" alt="tbarcodemaxicode.png" /></td> <td>Maxicode</td> <td>Tracking and managing the shipment of packages</td> <td><code>#0..#255</code> interpreted as ISO-8859-1</td> <td>about 90 characters (plus "primary message" needed in property <code>Primary</code> for mode 2 and 3)</td> <td><a href="https://en.wikipedia.org/wiki/MaxiCode"><span>https://en.wikipedia.org/wiki/MaxiCode</span></a></td> </tr> </tbody> </table>

Special properties of some components

Demo application

A demo project is contained in the LazBarcodes installation. It allows to generate barcode from all barcode types supported. Please note that - since the requirements on length and characters changes from type to type - sometimes error messages are displayed; in this case, click on the "Sample text" button to use a predefined sample text for the selected barcode type. A screenshot is displayed at the top of this page.

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.


From the Free Pascal wiki, page "LazBarcodes", as it stood on 2023-09-17 after a change by Wp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.