[JAVA]利用google的barcode4j生成二维码和条形码

[JAVA]利用google的barcode4j生成二维码和条形码


1.barcode4j介绍

   barcode4j是一款开源的条形码生成库,该库由Java语言编写。能够生成很多种编码的条形码,比如:code-39,code-128等等;

2 .在官方网站上下载http://barcode4j.sourceforge.net/相应的文件


3.支持的二维码、条形码样式有:

PNG and SVG versions
Barcode type PNG graphic
Interleaved 2 of 5 Sample Interleaved 2 of 5 barcode (PNG)
ITF-14 [JAVA]利用google的barcode4j生成二维码和条形码_第1张图片
Code 39 Sample Code 39 barcode (PNG)
Code 128
Codabar Sample Codabar barcode (PNG)
UPC-A Sample UPC-A barcode (PNG)
UPC-E Sample UPC-E barcode (PNG)
EAN-13 Sample EAN-13 barcode (PNG)
EAN-8 Sample EAN-8 barcode (PNG)
POSTNET
Royal Mail Customer Barcode
USPS Intelligent Mail Sample USPS Intelligent Mail barcode (PNG)
PDF417 Sample PDF417 symbol (PNG)
DataMatrix (square) Sample DataMatrix symbol (PNG)
DataMatrix (rectangular) Sample DataMatrix symbol (PNG)
QR Code

详细参照:http://barcode4j.sourceforge.net/examples.html


4.使用方式

http://barcode4j.sourceforge.net/trunk/embedding.html

http://barcode4j.sourceforge.net/trunk/servlet.html


你可能感兴趣的:(java,开源,二维码,条形码)