Why pcl? I thought I was trapped in a pcl world and jeremias set me straight :) 
maybe I can offer some guidance?



> On 3 Dec 2013, at 8:56 pm, "Michael Mest" <michael.m...@gmx.de> wrote:
> 
> Hi @all.
> 
> At first, i want to introduce me. I'm Michael from germany and i'm working as 
> software developer.
> 
> At the moment, we are in a project which include producing barcodes.
> 
> We are using barcode4j in combination with FOP Ver. 1.1 in a WebApplication 
> hosted in a apache tomcat environment.
> 
> Everything worked fine with creating files including the barcode until we got 
> a new feature request. because of this feature request, we are not able to 
> produce PDF-Files ans more. Instead, we have to produce pcl-files.
> 
> Because of the measurement differences between pdf and pcl, we decides to 
> produce an AreaTree file first with overriding the renderer.
> So the measurment is done in PDF-Style and after that, we convert the 
> AreaTree-File to a PCL-File.
> 
> The problem is that we cannot produce the AreaTree file using saxon. 
> Everything works fine when whe use xalan, but wit saxon, we get a 
> NullPointerException inside the Methode "getNameCode" in Class 
> "net.sf.saxon.event.ReceivingContentHandler"
> 
> The Namespace-URI seems to be Null!
> 
> The Code-Snippet inside the FO-File is: 
> <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"; 
> orientation="90" message="440180">
> <barcode:intl2of5>
> <barcode:height>10mm</barcode:height>
> <barcode:module-width>0.5mm</barcode:module-width>
> <barcode:wide-factor>3.0</barcode:wide-factor>
> <barcode:quiet-zone enabled="true">10mw
> </barcode:quiet-zone>
> <barcode:checksum>auto</barcode:checksum>
> <barcode:human-readable>
> <barcode:placement>none</barcode:placement>
> <barcode:display-checksum>false</barcode:display-checksum>
> </barcode:human-readable>
> </barcode:intl2of5>
> </barcode:barcode>
> 
> Can anyone tell me what's wrong with it?
> 
> Thanks!
> 
> Michael
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to