2009-09-30 00:15:16 +13:00
|
|
|
Zint and libzint 2.2.2
|
2009-08-06 20:36:01 +12:00
|
|
|
----------------------
|
2009-07-18 10:12:39 +12:00
|
|
|
Zint is a suite of programs to allow easy encoding of data in any of the wide range of public domain
|
|
|
|
barcode standards and to allow integration of this capability into your own programs. This version
|
|
|
|
of Zint is able to encode data in the following formats:
|
2008-07-14 09:15:55 +12:00
|
|
|
|
|
|
|
Code 11, Standard Code 2 of 5, IATA Code 2 of 5, Industrial Code 2 of 5, Interleaved Code 2 of 5,
|
|
|
|
Code 2 of 5 Data Logic, ITF-14, Deutche Post Leitcode, Deutche Post Identcode, UPC-A, UPC-E, EAN-2,
|
|
|
|
EAN-5, EAN-8, EAN-13, UK Plessey, MSI Plessey, Telepen Alpha, Telepen Numeric, Code 39,
|
2008-09-03 07:29:22 +12:00
|
|
|
Extended Code 39, Code 93, PZN, Code 23, LOGMARS, Codabar, Pharmacode, Code 128, EAN-128, NVE-18,
|
|
|
|
Code 16k, PDF417, MicroPDF417, Two-Track Pharmacode, PostNet, PLANET, Australia Post 4-State Symbols,
|
|
|
|
RM4SCC, USPS OneCode, GS1 DataBar, DataBar-14, DataBar Limited, DataBar Extended, DataBar Stacked,
|
2008-11-17 21:47:42 +13:00
|
|
|
Composite Symbology, Data Matrix, QR Code, Maxicode, Aztec Code, EAN-13, Codablock-F, Micro QR,
|
2009-02-11 12:35:14 +13:00
|
|
|
Korea Post Barcode, HIBC Code 128, HIBC Code 39, HIBC Data Matrix, HIBC PDF417, HIBC MicroPDF417,
|
2009-07-14 07:03:28 +12:00
|
|
|
HIBC QR Code, HIBC Codablock-F, Japanese Postal Code, Code 49, Channel Code, Code One, FIM and
|
|
|
|
Flattermarken.
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
Full documentation is available at project website: http://www.zint.org.uk
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2008-09-03 07:29:22 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
PROJECT STATUS
|
|
|
|
--------------
|
2009-09-30 00:15:16 +13:00
|
|
|
Contrary to previous thoughts this project is very much active again. This release signifies the
|
|
|
|
first step in a complete re-think of the API. If you have written applications which take advantage
|
|
|
|
of the Zint API then please make appropriate alterations. Details are given on the news page of the
|
|
|
|
project website.
|
2008-09-03 07:29:22 +12:00
|
|
|
|
2009-09-30 00:15:16 +13:00
|
|
|
Work is now continuing on making the library more useful for those who want to encode characters
|
|
|
|
beyond the ASCII set. Also in the plan is to bring QR Code encoding within the library and thereby
|
|
|
|
remove the dependence on libqrencode for this. Once this is achieved then Grid Matrix will be the
|
|
|
|
next symbology to be added. By this time I hope to have achived a much more smooth mechanism for
|
|
|
|
encoding both Japanese and Chinese character sets.
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
COMPILING THE CODE
|
|
|
|
------------------
|
|
|
|
This package includes files for compiling in a number of ways depending on what functionality you
|
|
|
|
want and what platform you are targeting. Zint has been tested on both 32 and 64-bit systems.
|
|
|
|
It does not use any unusual memory manipulation and so should easily port to a wide range of hardware.
|
2008-10-20 20:23:34 +13:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
GNU/Linux and OpenBSD:
|
|
|
|
To compile the Zint library for you will need libpng and libz pre-installed. You can compile
|
|
|
|
with or without QR Code support. If you want QR Code support you will need qrencode installed. Then:
|
2008-10-20 20:23:34 +13:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
make
|
|
|
|
make install
|
2008-10-20 20:23:34 +13:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
If you do not want QR Code support:
|
2008-10-20 20:23:34 +13:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
make zint_noqr
|
|
|
|
make install
|
2008-10-20 20:23:34 +13:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
For some distributions it may be necessary to run
|
2008-10-20 20:23:34 +13:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
ldconfig
|
2008-10-20 20:23:34 +13:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
as root before libzint can be used.
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
To install the GUI interface you will need Qt4 and cmake. Follow these steps:
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
make -j2
|
|
|
|
make install
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
The command line program can be accessed by typing
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
zint {options} -d {data}
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
Notice that the data needs to be entered after all other options. Any options given after the
|
|
|
|
data will be ignored. The GUI can be accessed by typing
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
zint-qt
|
2008-07-14 09:15:55 +12:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
MS Windows:
|
|
|
|
On the Windows platform you have the choice of compiling with MinGW or with the native compiler,
|
|
|
|
Microsoft Visual C++. To compile with MinGW follow the instructions for Linux above substituting
|
|
|
|
the MinGW makefiles for the default Linux ones. For compiling with MS Visual Studio open the
|
|
|
|
libzint.vcproj project file in the win32 folder and compile in the usual way.
|
|
|
|
|
|
|
|
Mac OSX:
|
|
|
|
To compile on Macintosh you will need Qt4 and cmake. Follow the steps for the GUI interface
|
|
|
|
as given in the Linux section above.
|
2009-02-11 12:35:14 +13:00
|
|
|
|
|
|
|
|
|
|
|
THINGS TO DO
|
|
|
|
------------
|
2009-07-18 10:12:39 +12:00
|
|
|
If you are interested in improving this package then here are a few ideas.
|
2009-02-11 12:35:14 +13:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
Backend
|
|
|
|
-------
|
|
|
|
* Create filters for more output file formats.
|
|
|
|
* Add ECI character support to allow encoding in more languages than are covered
|
|
|
|
by the Latin-1 character set.
|
|
|
|
* The code was developed to be easy to understand rather than efficient so may benefit
|
|
|
|
from some memory optimisation for embedded systems.
|
2009-02-11 12:35:14 +13:00
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
GUI Frontend
|
|
|
|
------------
|
|
|
|
* Allow copying of generated barcodes to the clipboard with a "Copy" button.
|
2009-05-20 06:11:00 +12:00
|
|
|
* Allow dragging and dropping to external apps.
|
2009-02-11 12:35:14 +13:00
|
|
|
|
|
|
|
Packaging
|
|
|
|
---------
|
|
|
|
Binary packages are needed for distribution in the following formats
|
2009-07-14 07:03:28 +12:00
|
|
|
* RPMs for various Linux distros (.spec file now available thanks to Radist)
|
|
|
|
* Install binaries for MS Windows (MSVC and MinGW make files now included)
|
2009-02-11 12:35:14 +13:00
|
|
|
* Install binaries for Mac OSX
|
|
|
|
|
|
|
|
Translations
|
|
|
|
------------
|
|
|
|
Documentation is currently only in English. If you have the knowledge and the
|
|
|
|
time please consider translating into other languages.
|
|
|
|
|
|
|
|
Research
|
|
|
|
--------
|
|
|
|
The following standards would be welcomed in Zint but the full documentation has
|
|
|
|
not yet been found.
|
|
|
|
* DPD Code
|
|
|
|
* Italian Postal Code
|
|
|
|
|
2009-07-18 10:12:39 +12:00
|
|
|
|
|
|
|
CONTACT ME
|
|
|
|
----------
|
|
|
|
The home of libzint is:
|
|
|
|
|
|
|
|
http://www.sourceforge.net/projects/zint
|
|
|
|
|
|
|
|
and the home for information about Zint is:
|
|
|
|
|
|
|
|
http://www.zint.org.uk
|
|
|
|
|
|
|
|
I am keen to hear your ideas / recieve bug reports at robin@zint.org.uk
|
|
|
|
|
|
|
|
Thanks for your interest in libzint.
|
|
|
|
Happy encoding.
|
|
|
|
|
|
|
|
Robin.
|
|
|
|
|
|
|
|
|
|
|
|
|