KA.Barcode for Java
Guide for Resizing PDF-417 Barcodes in Java
Complete Java source code to generate, print PDF-417 images and change barcode size with Java Control
PDF 417 Barcode Generator for Java Overview
  • Pre-configured industry standards PDF 417 allow any untrained users to insert PDF 417 in Java
  • Java Server Side projects (JSP, Servlet, EJB, J2EE, Web Service) can be easily integrated
  • Provide professional features to set inter-character space and wide narrow bar ratio for PDF 417
  • Applet allows PDF 417 easily integrated into web pages
  • Simple to change the height of PDF 417 barcode image with setting the Y(height of bar module) or BarCodeHeight.
  • Java PDF 417 generation component supports rotating PDF 417 image with 0, 90, 180, 270 angles
  • Common-used image formats are valid here, which are png, tiff, gif, jpeg and bmp
  • Encode PDF 417 valid data with valid data length to generate PDF 417 images in Java
Related PDF 417 Java Generation Setting Guide
PDF-417, is also named as Portable Data File 417, PDF 417, PDF417 Truncated. Excluding Java PDF 417 Size Setting, KeepAutomation provides other concerned PDF 417 generation setting properties for adjust the image and encoding data:
Java PDF 417 Size Setting Parameters

columnCount and rowCount for Java PDF417 Size

barcode.PDF417ColumnCount(3);// Number of columns. The value range is from 1 to 30. The default is 5. Increase this value, if your data size is large.

barcode.PDF417RowCount(6)// The number of rows for PDF417. The value range is from 3 to 90. The default is 3.

Pdf417XtoYRatio for Java PDF417 Size

barcode.setPdf417XtoYRatio(0.33333f)// represents the ratio of wide bars to narrow bars. Default is 0.333333f.

Other Size Setting Related Properties for Java PDF417

barcode.setmoduleSize(3);// Data Matrix module width of barcode module, default is 3 pixel

barcode.setBarCodeWidth(200);// the fixed width value of PDF 417 image, default is 0

barcode.setBarCodeHeight(99);// the fixed height value of PDF 417 image, default is 0

barcode.settopMargin(5);// the space between the top side and bars, default is 0

barcode.setbottomMargin(5);// the space between the bottom side and bars, default is 0

barcode.setleftMargin(5);// the space between the left side and bars in PDF 417 generated by Java PDF 417

barcode.setrightMargin(5);// the space between the right side and bars in PDF 417 generated by Java PDF 417, default is 0

barcode.setUOM(UOM_PIXEL (0));// Unit of measure for all size related properties. UOM_PIXEL (0); UOM_CM (1); UOM_INCH (2). Default is UOM_PIXEL (0)

barcode.settextFont("Arial", Font.PLAIN, 11);//

barcode.setautoResize(false); adjust the size with your setting properties with set it to be true

With KA .NET QR Code generator, QR Code can be generated with 40 versions. ....
Drawing, creating QR Code bar codes into 40 ....
Easily drag and drop the barcode control to print QR Code barcodes in ASP.NET webforms & ....
This Barcode Generator control SDK library support generating ....
JPEG/JPG, BMP, PNG, to save QR Code barcode image in your VB.NET applications. ....
PDF 417 Size Setting in Java - Common situations

Output PDF 417 image with a fixed Module Size in Java

barcode.setmoduleSize (4);


Insert PDF 417 image with a fixed Image Width in Java

barcode.setBarCodeWidth (180);


Draw PDF 417 image with a Minimum moduleSize and fixed BarCodeWidth in Java


barcode.setBarCodeWidth (188);


Note that, once setting a fixed X, a minimum BarCodeWidth PDF 417 image is automatically created in Java. If your set BarCodeWidth is smaller than the minimum value, the generated PDF 417 image width will be the minimum barcode width value in java. If your set BarCodeWidth is larger than the minimum value, the generated Data Matrix image width will be the set barcode width value in java.This situation is the same as BarCodeHeight.