From: Christian P. <we...@so...> - 2008-04-04 08:50:36
|
Hi I have an issue concerning Barcodes in a PDF printed out via PCL5 and PCL6 - drivers. To avoid quick RTFM-answers: Yes, I have read common manuals, FAQ, troubleshooting howtos, mailing-lists etc. ;-) The Code-128 Barcodes are not readable for the scanner. The error is obvoius for the naked eye: There are no fine lines with different widths, but just a row of vertical lines, with equal withs of approx 1 mm. Looks like a row of I I I I I I I. It turns out that the barcodes get printed correctly, when the PDF is printed via a PS - driver. It also gets correct, when I print it via PDF - creator as a new PDF, an print that out on the PCLx - driver. And here comes the most interesting crunch: the examle-pdf from http://barcode4j.sourceforge.net/barcode-examples.pdf works on PCLx, too. By the way, thats one reason why I hang on trying to find a solution in Barcode4j and not by just using an other driver. I had no change to use an other one, anyway (network maintenance reasons; thats IT...) . I have seen in the configuration of the example-pdf, that this is created using xalan with the barcode.generate() - function. Thats the main difference to my solution, as i do it via FOP. So, is there a difference of the resulting pdf-content between xalan- and fop-embedded barcodes? Would barcode4j version 2.0 be a solution? Greetings, Christian The Environment where the barcodes are created looks as follows: OS: HP Unix JVM: Java 1.4.1 AppSrv: Tomcat 4.1.27 Barcode4j: Version 1.0 with FOP extension |