On 15.12.2004 12:11:39 kumar Bandaru wrote:
> Wow Wow Wow! I got the barcodes rendered.Thanks for your suggestions.I
> started all over again .it worked.

Good to hear. :-)

> As Barcode4J doesn't need Fonts to render the barcode, The only way to
> increase the barcode size is using the <barcode:height> and
> barcode:module-width> ? Iam i right abt this??

Yes.

> What are the defaults barcode4j uses for height and width ??

That depends on the symbology in use. Have a look at the following link
where you can see the defaults for EAN-8 barcodes:
http://barcode4j.krysalis.org/barcode-xml.html#EAN-8

> How can i align the barcode within the cell? I tried with text-align
> property it didnt work.

Hmm, technically an instream-foreign-object behaves much like a
character and therefore you can use text-align for this use case, too.
The following worked fine here (whether this is on the block or on the
table-cell doesn't really matter):

          <fo:table-row>
            <fo:table-cell>
              <fo:block text-align="right">
        <fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"; 
msg="1100007">

Maybe you are confused because of the quiet zone that is on by default.
The quiet zone is necessary so barcode readers can distiguish the
barcode from nearby stuff. You can switch it off like this, if
necessary:

[..]
<quiet-zone enabled="false"/>
[..]


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to