Hi,
 
Thats my bad i could not find it earlier..thanks for the help.
 
I downloaded Barcode4j and followed the instructions as specified in the documentation and tried to generate the font by embedding the code as given below :
 

<fo:table-row height="11px">
                  <fo:table-cell padding-left="5px" border="solid black 1 px" border-  collapse="collapse" number-columns-spanned="3">
                                     <fo:block>
                                              <fo:instream-foreign-object>
                                                <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" msg="1100007">
                                                  <barcode:ean8>
                                                    <barcode:height>14mm</barcode:height>
                                                    <barcode:font-name>upceanm</barcode:font-name>
                                                    <barcode:font-size>20pt</barcode:font-size>
                                                  </barcode:ean8>
                                                </barcode:barcode>
                                              </fo:instream-foreign-object>
                                            </fo:block>
 
                  </fo:table-cell>
               </fo:table-row>  
 
 
I am getting the following exceptions :
 
FOP:Unknown formatting object http://barcode4j.krysalis.org/ns^barcode
 
FOP:no handler defined for http://barcode4j.krysalis.org/ns:barcode foreign xml
 
I guess i have missed out something which i am unable to figure out as i am new to XSL and FOP.
 
Any help is appreciated.
 
Thanks
 
 

Jeremias Maerki <[EMAIL PROTECTED]> wrote:

On 13.12.2004 20:56:44 kumar Bandaru wrote:
> Thanks for your reply.I tried searching in sourceforge for barcode generators which
> supports EAN8 smbology , i couldn't find it.

Uhm, you didn't really look hard enough. Searching for "barcode ean8" in
SourceForge's project search delivers Barbecue in 7th position, my
Barcode4J in 10th position and even a few other Java implementations
further down. I recommend Barcode4J (who guessed?) because it integrates
nicely with FOP. There you can specify the bar widths just the way you
want.

http://barcode4j.krysalis.org/

> Actually we have one more application which generates barcodes using crystal reports
> which uses WASPUPCMC barcode font , i think this font also belongs to EAN8 symbology.
> When we generate the barcode using this font in crystal reports , Even at font size 42
> the height of the barcode fits in the Label(Where i intend to print the barcode).
>
> I managed to get the TTF file and created the font metrics using
> TTFReader , but this is not working as it works in crystal reports.
>
> Currently In my application we are using UPCEAN8 font given by IDAutomation
>
>
> We use the parity logic given by IDAutomation to transform the given
> number and render the font in PDF file using fo:block
>
> Basically i want to display half height fonts as i have limited space.
>
> Any ideas How to achieve the same using FOP.

Either use Barcode4J or paint the barcode using SVG where you can
squeeze the font all you want.

Jeremias Maerki


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


Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.

Reply via email to