Hi, I guess, before we try to find a possible solution, we need some more informations.
What problem do you have in detail? Do you get an exception? Do you get strange characters, perhaps squares, instead of the barcode? Or is the paper just blank? Is the Font embedded into the PDF? What pdfbox-version are you using? Is the font installed on your pc? What kind of os are you using? > Typically, bar code printing is done by using a special bar code font. > > Unless I've missed something recent & major, PDFBox knows how to render > only > a handful of fonts -- and Barcode39 is not one of them. That already works for me with version 0.7.4 from sourceforge of course under certain conditions. > There was some discussion of something to detect and use any font installed > on the system ... so if someone else jumps in & says I'm wrong, I'll be > happy to admit it! That should work with the trunk version of course under certain conditions. ;-) Andreas Lehmkühler > On 3/4/09, June Voon Hew <[email protected]> wrote: > > > > > > Dear, > > > > > > > > I'm using the pdfbox as my pdf file printing feature on my java program. > I > > had successfull print > > > > all those pdf files on my pc but got problem when print out those with > > barcode image. > > > > > > > > FYI, I'm using iTEXT java lib to construct my pdf file and using iText's > > Barcode39 object to generate barcode image > > > > on pdf. > > > > > > > > However, if I using the Adobe Reader to view and print the file, it was > > fine!. Is there any addon external lib needed > > > > other than fontbox.jar? > > > > > > > > I need the pdfbox to print out by batch without user interruption. Please > > help. > > > > > > > > > > > > Thank you. > > > > > > > > > > > > Regards, > > > > hew > > > > _________________________________________________________________ > > Windows Live Groups: Create an online spot for your favorite groups to > > meet. > > http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009 > --- original Nachricht Ende ----
