Menu

#31 Barcode4j and Fop 1.0

open
nobody
None
5
2010-11-02
2010-10-19
No

Barcode4j is not working with FOP 1.0.

I have upgraded fop 0.95 to fop 1.0. Now the processing of the barcodes are not working anymore. The PDF is printed but without any barcodes (or any replacement instead of the missing barcodes).

Message:
00:26:24,680 ERROR [org.apache.fop.apps.FOUserAgent] Image not available. URI: (instream-object). Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null (No context info available)

FOP-xsd:
<fo:block space-start="2mm">
<fo:instream-foreign-object>
<bc:barcode message="OR{Order/ExtID}/{Order/Revision}">
<bc:code128>
<bc:height>4mm</bc:height>
<bc:quiet-zone enabled="false">1mm</bc:quiet-zone>
<bc:human-readable>
<bc:placement>none</bc:placement>
</bc:human-readable>
</bc:code128>
</bc:barcode>
</fo:instream-foreign-object>
</fo:block>

whereas the variables contains just plain numbers.

Can someone verify the issue? Any clue how to circumvent this?

Versions: Windows Vista, Java 6.020, jboss 6.00m5, fop1.0, barcode4j (2008)

Thanks for your help,
Mike

Discussion

  • Jeremias Märki

    Jeremias Märki - 2010-10-19
    • status: open --> pending
     
  • Jeremias Märki

    Jeremias Märki - 2010-10-19

    Yes, unfortunately, the current release doesn't contain a FOP plug-in compatible with FOP's latest image infrastructure. The necessary plug-in is available in CVS HEAD (i.e. the development code, which means you'd have to compile Barcode4J yourself). I've started to prepare a release but I constantly get side-tracked. I hope to get Barcode4J 2.1 out real soon now.

    I'll keep this ticket open as a another reminder.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • Jeremias Märki

    Jeremias Märki - 2010-11-02
    • status: closed --> open
     
  • Jeremias Märki

    Jeremias Märki - 2010-11-02

    Reopened upon request.

     

Log in to post a comment.

MongoDB Logo MongoDB