Common Asked Questions
What is PDF417 used for?
PDF417 is a high density, 2-dimensional stacked barcode symbology used in a variety of industries and applications, such as driver's license, airline boarding pass, transport, and inventory management.
Using Java Barcode Generator library, you can quickly encode, create and print PDF417 barcode images in Java class, JSP, Servlet web applications.
Create a new
com.onbarcode.barcode.PDF417 object to customize and render PDF417 images in Java class.
What is the maximum capacity of a PDF417?
The maximum number of characters encodable in a PDF417 barcode at lowest error correction level (0).
- Text Compaction mode: 1,850 characters
- Byte Compaction mode: 1,108 characters
- Numeric Compaction mode: 2,710 characters
PDF417.M_AUTO value to PDF417.setDataMode() method, the Java barcode library will automatically
analyze the PDF417 encoding text characters and choose the right PDF417 data modes in Java application.
What is the aspect ratio of a PDF417?
The aspect ratio of the printed PDF417 barcode shall be defined by two dimensions:
setX(): set the dimension of the narrowest bar and narrowest space. Using Java barcode library, you can customize X value through methodPDF417.setX()setXtoYRatio(): the ratio of bar width vs bar height. Using Java barcode library, you can customize it through methodPDF417.setXtoYRatio()
What is the difference between a PDF417 and a QR Code?
PDF417 and QR Code are both 2D or matrix barcode symbologies. PDF417 can be scannable even if up to 50% of it is damaged. QR Code can accept up to 30% damages.
Java Barcode library supports both PDF417 and QR Code 2d barcode generations.
In Java class, you can create and initiate a
In Java class, you can create and initiate a
PDF417 object to generate PDF417 barcode images,
and initiate a QRCode object to draw QR Code images in Java source code.
