Do you have to print it into a PDF report?
If so, there is an easier way of generating barcodes in a fop template; try something like this:

<fo:block text-align="left">
  <fo:instream-foreign-object>
    <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns";
           message="${productId}">
      <barcode:code39>
        <barcode:height>10mm</barcode:height>
      </barcode:code39>
    </barcode:barcode>
  </fo:instream-foreign-object>
</fo:block>

This will print the barcode of a productId with barcode coding "code39"

Jacopo

mridu wrote:
hello sir

 i have build a barcode using my java application for a product which can be
got as a BufferedImage .Now Can i import this BARCODE to ofbiz in relation
to Bill Of Material.I am able to import bill of material generated in my
application to ofbiz.But can it be possible for BARCODE.

with regards
mridu




Reply via email to