예제 #1
0
 public void initCode39Bean() {
   code39Bean = new Code39Bean();
   final int dpi = barcodeDpi;
   // Configure the barcode generator
   code39Bean.setModuleWidth(UnitConv.in2mm(1.0f / dpi)); // makes the
   // narrow bar
   // width exactly one pixel
   code39Bean.setBarHeight(barHeight);
   code39Bean.setWideFactor(wideFactor);
   code39Bean.doQuietZone(false);
 }