xsl-list
[Top] [All Lists]

Re: Integrating barcode in xsl:fo

2003-09-04 14:19:24
Thanks Mike. I think using the fonts would work for
me. I tried using fo:table and then using alternate
black adn white backgroud for the cells and specifying
different cell widhts for each cell but it gets little
cumbersome. I am not yet sure what kind of bar code we
will be using for our project. But this Font thing is
really cool :)
Abhi 
--- Mike Haarman <mhaarman(_at_)infinitecampus(_dot_)org> wrote:
Abhi,

There are several different flavors of barcode, but
the rules are pretty
straightforward and the logic to generate them can
be handled in XSLT.  I use:

<fo:leader leader-pattern="rule"
rule-thickness="{$thickness}"
rule-style="solid" leader-length="{$length}"/>
<fo:leader leader-pattern="rule"
rule-thickness="{$void.thickness}"
rule-style="solid" color="white"
leader-length="{$void.length}"/>

See this site for information about calculating
width/height ratios and
character representations:

http://www.adams1.com/pub/russadam/barcode1.html

There may also be bar code fonts you can incorporate
into your document.

Mike


----- Original Message ----- 
From: "Abhijit Junnare" <mavlaabhi(_at_)yahoo(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, September 04, 2003 12:35 PM
Subject: [xsl] Integrating barcode in xsl:fo


Hi,
I want to use barcode with xsl:fo. I downloaded
the
krysalis barocde application but cannot run it.
Has
anyone used something to generate barcodes to be
printed in the pdf file using xsl or xsl:fo ?
Any help is appreciated.
Thanks,
Abhi

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site
design software
http://sitebuilder.yahoo.com

 XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>