Beispiel #1
0
 public static Image getBarcode128(String value) {
   AbstractBarcodeBean barcode = new Code128Bean();
   barcode.setMsgPosition(HumanReadablePlacement.HRP_NONE);
   return getBarcode(value, barcode);
 }
Beispiel #2
0
 public static Image getBarcodeEAN13(String value) {
   AbstractBarcodeBean barcode = new EAN13Bean();
   barcode.setMsgPosition(HumanReadablePlacement.HRP_BOTTOM);
   return getBarcode(value, barcode);
 }