Why not a fast, flexible and reliable solution? 3 things are needed:

o Java routines to calculate barcode rectangles and label areas depending
from barcode type and its parameters. Possibly such routines are freely
available. Otherwise: give me the specs, I will write the code (the nowadays
popular datamatrix will be harder) and somebody has to run scan tests.

o Java code to render the rectangles: very easy in PDF

o Handy XSL:FO Input. My experimental hack below is functionally OK allowing
barcode type selection with appropriate parameters. The renderer extensions
is quite easy and elegant.


Hansuli Anderegg
__________________________________________________________________________

Barcode Input

<fo:block width="0pt" height="0pt">
    <fo:instream-foreign-object width="0pt" height="0pt">
        <svg:svg width="0" height="0">
                <svg:desc>content: bar3of9, D014679, 60.0, 600.0, 18.0, 1.44,
2.25</svg:desc>
                                         |        |        |     |      |     |     |
                                         |        |        |     |      |     |     + 
ration narrow/wide
                                         |        |        |     |      |     + module 
width
                                         |        |        |     |      + height
                                         |        |        |     + y position
                                         |        |        + x position
                                         |        + barcode data
                                         + barcode type
                </svg:svg>
    </fo:instream-foreign-object>
</fo:block>




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

Reply via email to