You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by MARTIN Franck <fr...@c-s.fr> on 2003/07/28 14:51:10 UTC

bar codes

hi all,

I'd like to insert some bar codes to my pdf documents. i found stylesheets on the web which could do the job for me. They are distributed by XEP and seem to work fine with that FO processor. I tested them with FOP 0.20.4 and 0.20.5 but it does not look as nice as with XEP. Actually it does not look correct. The bars are so thick that they merge.

Has anyone had the same problem and found any solution to that problem?

PS: i did not use svg to draw the bars but fo

Thanks

Franck

Re: bar codes

Posted by Angus Stewart <an...@ASCnet.COM>.
Salut,

Simple Solution: Use a barcode font.  Code39 maps directly to 
chars 0-9, A-Z, %,$,/,-,+ and maybe some others...

A quick search of google should find you some freebees for testing.

Check faq and examples for font embedding.

Other barcode formats require preprocessing.



Dominique Duphil wrote:
> 
> Another way, is to use a barcode font, you could find a GPL one at
> http://www.tdb.uu.se/~jan/barfonts
> 
> -----Message d'origine-----
> De : Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
> Envoye : lundi 28 juillet 2003 15:04
> A : fop-user@xml.apache.org
> Objet : Re: bar codes
> 
> Look at Krysalis Barcode (http://www.krysalis.org/barcode, Apache-style
> license). It provides, among other things, a Xalan-Extension that
> creates barcodes in SVG which can easily be rendered by FOP.
> 
> A FOP extension that can render directly to PDF and PostScript is on its
> way, but not quite ready yet. At the moment the detour over SVG/Batik is
> still necessary.
> 
> On 28.07.2003 14:51:10 MARTIN Franck wrote:
> > I'd like to insert some bar codes to my pdf documents. i found stylesheets
> on the web which could do the job for me. They are distributed by XEP and
> seem to work fine with that FO processor. I tested them with FOP 0.20.4 and
> 0.20.5 but it does not look as nice as with XEP. Actually it does not look
> correct. The bars are so thick that they merge.
> >
> > Has anyone had the same problem and found any solution to that problem?
> >
> > PS: i did not use svg to draw the bars but fo
> 
> Jeremias Maerki
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


RE: bar codes

Posted by Dominique Duphil <dd...@rennes.jouve.fr>.
Another way, is to use a barcode font, you could find a GPL one at
http://www.tdb.uu.se/~jan/barfonts

-----Message d'origine-----
De : Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Envoye : lundi 28 juillet 2003 15:04
A : fop-user@xml.apache.org
Objet : Re: bar codes


Look at Krysalis Barcode (http://www.krysalis.org/barcode, Apache-style
license). It provides, among other things, a Xalan-Extension that
creates barcodes in SVG which can easily be rendered by FOP.

A FOP extension that can render directly to PDF and PostScript is on its
way, but not quite ready yet. At the moment the detour over SVG/Batik is
still necessary.

On 28.07.2003 14:51:10 MARTIN Franck wrote:
> I'd like to insert some bar codes to my pdf documents. i found stylesheets
on the web which could do the job for me. They are distributed by XEP and
seem to work fine with that FO processor. I tested them with FOP 0.20.4 and
0.20.5 but it does not look as nice as with XEP. Actually it does not look
correct. The bars are so thick that they merge.
>
> Has anyone had the same problem and found any solution to that problem?
>
> PS: i did not use svg to draw the bars but fo


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: bar codes

Posted by Jeremias Maerki <de...@greenmail.ch>.
Look at Krysalis Barcode (http://www.krysalis.org/barcode, Apache-style
license). It provides, among other things, a Xalan-Extension that
creates barcodes in SVG which can easily be rendered by FOP.

A FOP extension that can render directly to PDF and PostScript is on its
way, but not quite ready yet. At the moment the detour over SVG/Batik is
still necessary.

On 28.07.2003 14:51:10 MARTIN Franck wrote:
> I'd like to insert some bar codes to my pdf documents. i found stylesheets on the web which could do the job for me. They are distributed by XEP and seem to work fine with that FO processor. I tested them with FOP 0.20.4 and 0.20.5 but it does not look as nice as with XEP. Actually it does not look correct. The bars are so thick that they merge.
> 
> Has anyone had the same problem and found any solution to that problem?
> 
> PS: i did not use svg to draw the bars but fo


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org