RE: [Barcode4j-users] RE: barcode generation with FOP

"O'Neill, Ciaran" <Ciaran.O'[email protected]> Mon, 26 Apr 2004 14:34:58 +0100
Newsgroups gmane.comp.krysalis.user
Message-ID <C86D15453EF3D6118B0700508BAE64C6232563@exc-dub1>
Thanks,

The Xalan extension is working perfectly and so is the <module-width>, so
thanks very much.  At the moment I'm just running this on my own PC, just
while I get my stylesheet for PDF's correct, but I think I have that now.
So soon I'll be transferring it across to out test Sun server and after some
testing there it will go into production.

Thanks for you help, I know where to come if I have more problems!

Ciaran.

-----Original Message-----
From: Jeremias Maerki [mailto:[email protected]]
Sent: 23 April 2004 15:28
To: [email protected];
[email protected]
Subject: Re: [Barcode4j-users] RE: barcode generation with FOP


Hmm, strange that FOP didn't find the FOP extension then. Maybe some
odd classloader effect. What's your environment? Tomcat or some big J2EE
server? This shouldn't happen from the command-line. Anyway, I'm glad
you got the Xalan extension to work.

Code128 doesn't support the wide-factor attribute. Code128 has 4
different widths and their relative widths are prescribed by the
specification. What you can change however is the module-width of the
narrow bar. The bar width of the broader bars is then defined by
multiplying the module width by 2, 3 or 4. See [1] to find out what
attributes are supported for Code 128. If you really need a wide-factor
it should be quite simple to add but I fear that the generated barcodes
wouldn't be 100% conformant to the spec and might produce read errors on
certain barcode readers.

It doesn't really matter if you're working with the FOP extension (your
earlier example) or with the Xalan extension (your new example). I think
you're doing fine.

[1] http://barcode4j.krysalis.org/barcode-xml.html#Code+128

On 23.04.2004 15:22:09 O'Neill, Ciaran wrote:
> I have the FOP extension in my classpath and I have gotten it to work with
> the following code (i'm using version krysalis-barcode-0.9 BTW).
> 
> I am, however having trouble getting some of the settings working - my
> wide-factor below doesn't seem to do anything.  I want my barcode to be
> wider (changing the height works fine), and I also get errors when I turn
> the human-readable off.
> 
> Have you got any suggestions please?  Is this the way I should be working
> with it, or should I be using the FOP example I provided in the previous
> mail?
> 
> Would it help if I attached my source XML and XSL?


Jeremias Maerki



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
krysalis-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/krysalis-users


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297