I am trying to create a barcode with specific dimensions: height=2 inches and width=2.4 inches using the BarcodeServlet. I have played around unsuccessfully with the width, height and resolution parameters, yet the size of image does not match the required height and width.
I am using java version "1.5.0_22" (build 1.5.0_22-b03) and barbecue-1.5-beta1.jar.
Thanks,
David
JSP (servlet) and resulting image (PNG)