[JAVA] uses Google's barcode4j to generate QR codes and barcodes
1.BARCODE4J Introduction
BARCODE4J is an open source barcode generation library that is written in the Java language. Can generate many kinds of coded barcodes, such as: code-39,code-128 and so on;
2. Download http://barcode4j.sourceforge.net/corresponding documents on the official website
3. The supported QR codes and barcode styles are:
PNG and SVG versions
Barcode Type |
PNG Graphic |
Interleaved 2 of 5 |
|
ITF-14 |
|
Code 39 |
|
Code 128 |
|
Codabar |
|
Upc-a |
|
Upc-e |
|
EAN-13 |
|
EAN-8 |
|
POSTNET |
|
Royal Mail Customer Barcode |
|
USPS Intelligent Mail |
|
PDF417 |
|
Datamatrix (Square) |
|
Datamatrix (rectangular) |
|
QR Code |
|
Detailed reference: http://barcode4j.sourceforge.net/examples.html
4. How to use
Http://barcode4j.sourceforge.net/trunk/embedding.html
Http://barcode4j.sourceforge.net/trunk/servlet.html
[JAVA] uses Google's barcode4j to generate QR codes and barcodes