Skip to content

hobbut/fop-qrcode-zxing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies
*Apache FOP http://xmlgraphics.apache.org/fop/
*ZXing ("Zebra Crossing") http://code.google.com/p/zxing/

Usage
Put fop-zxing-0.1.2-jar-with-dependencies.jar (http://code.google.com/p/fop-qrcode-zxing/downloads/detail?name=fop-zxing-0.1.2-jar-with-dependencies.jar) and in the FOP classpath.

<qr:qr-code xmlns:qr="http://hobbut.ru/fop/qr-code/" width="10cm"  message="Hello, Zxing!" correction="l">

Parameters
width - Width of qr-code. Can be in mm,pt,in,cm. Default: 50mm
correction - type of correction. Can be l,m,q,h. Deafult:l
encoding - Message encoding. Default:ISO-8859-1
message - Message to encode

sample.xml : https://github.com/hobbut/fop-qrcode-zxing/blob/master/src/test/resources/sample.xml

About

Apache FOP extension to embed SVG QRCode

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages