Hallo there! I am trying to generate PDF417 barcode and I am a little bit confused about setting parameters.
I am not able to produce PDF417 image with x/y ratio of 2:1. I set the option PDF417_USE_ASPECT_RATIO, than call setAspectRatio(0.5F) ant the resulting image has following dimensions: width = 154, height = 27 ErrorLevel 4 is used. I think the height should be 77 if the width is 154. Anyway, I have following instructions (comming from Global Transport Label implementation guide from our customer). Xdim=13mils (or 10 mils in some cases) Xdim/Ydim=1/3 Error Correction Level = 4 Please, can somebody explain me how to set these values? ErrorCorrection should be clear... code.setErrorLevel(4); myCode.setOptions(BarcodePDF417.PDF417_USE_ERROR_LEVEL); Xdim/Ydim ratio is confusing for me... Xdim was not understood by me, too. Thanx very much in advance. GG ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions