bhaskar ramasamy wrote:
I am dealing with creating a PDF document which is to be fed into a machine
which utilizes optical mark recognition (OMR) technology. Basically it looks
like a bar code in the top right hand corner of the page, this series of OMR
marks is different for every odd page in the document and appears on odd
pages only. The document is fed into the machine, and based on these "lines"
the machine knows how many pages to grab and fold.
The OMR marks change depending on how many odd pages are in the document.The
total no of pages will vary for each and every document.
Is anyone comes across this before, and how did you solve it .
how can I get the odd page numbers, and compare the numbers and insert the
respective OMR mark images.
You can't do it this way. XSLFO has no "expression" level elements
like XSLT has.
Beside using a font which maps page numbers to OMR marks, the idea of
using a page sequence master containing some single page masters has
been brought forward, each referenced simle page master providing for
a region to be filled with the appropriate OMR mark. Of course, you'll
have to generate it, as writing this by hand would be tedious and error
prone.
If you need the total page number of the whole document beforehand in
order to create the correct marks, you'll probably have to resort to a
two stage process as demonstarted in the FAQ.
I also vaguely remember someone talked about writing a FOP extension
providing for OMR marks, search the list archives for further
information.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]