Génération de code à barres avec zxing

suis en mesure de générer des codes à barres à l'aide de zxing bibliothèque de codes-barres, le matin à l'aide ...

String text = "123456789101"; 

int width  = 300;
int height = 100; 
String imgFormat = "png";

BitMatrix bitMatrix = new UPCAWriter().encode(text, BarcodeFormat.UPC_A, width, height);
MatrixToImageWriter.writeToStream(bitMatrix, imgFormat, new FileOutputStream(new    File("C:\\code_.png")));
out.println("Success!");

J'ai eu ma sortie, avec le plan image de code à barres, mais je veux imprimer du texte(String texte = "123456789101";) " aussi bas de l'image, tout savoir svp aider moi.

Merci beaucoup.

InformationsquelleAutor jassu | 2012-09-27