glbarcode++ is a free C++ library for generating barcodes. It is a port of the original glbarcode library from gLabels. The library is designed to be easily extended to support new barcode types and output formats.
glbarcode++ is a C++ port of the glabels barcode library and is currently early in development. Expect the API to be somewhat unstable in the 0.x series.
glbarcode++ currently supports the following barcode symbologies.
Name | Example | Data Length | Data Format | Text Visible | Checksum Generated | Notes |
---|---|---|---|---|---|---|
Code39 | Variable | A -Z , 0 -9 space special: -.$/+% | Optional | Optional | 1 | |
Extended Code39 | Variable | Full ASCII range (0-127) | Optional | Optional | ||
UPC-A | 11 | 0 -9 | Always | Always | ||
EAN-13 | 12 | 0 -9 | Always | Always | ||
ONECODE | 20, 25, 29 or 31 | 0 -9 | Never | Always | ||
POSTNET | 5, 9 or 11 | 0 -9 | Never | Always | 2 | |
POSTNET-5 | 5 | 0 -9 | Never | Always | 2 | |
POSTNET-9 | 9 | 0 -9 | Never | Always | 2 | |
POSTNET-11 | 11 | 0 -9 | Never | Always | 2 | |
CEPNET | 8 | 0 -9 | Never | Always | 2 | |
Data Matrix | Variable | Full 8-bit values | Never | Always | 3, 4, 5 | |
QR Code | Variable | Full 8-bit values, except 0 | Never | Always | 6 |
Notes
a
-z
) are upshifted0
-9
), up to 3116 digits can be encoded.This manual is divided into two parts, each of which is divided into separate sections.
The first part is the general user manual:
The second part is the detailed API reference:
Copyright © 2013 Jim Evins <evins@snaught.com>
glbarcode++ is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
glbarcode++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with glbarcode++. If not, see http://www.gnu.org/licenses/.