Using iText, I am creating a PDF document from a series of
TIFF images.
Then (next pass), I am digitally signing it, using an
invisible signature.
However, I place my invisible signature on page 1 of the
document, using
sap.setVisibleSignature(new Rectangle(0,0,0,0),
1, fieldName);
When printing such document from Adobe Reader 7, all pages
following the page 1 (with my invisible signature) are “printed”
using some bogus scaling (i.e. 200 times bigger, rotated 180 degrees) –
despite showing ‘right’ in the reader.
The problem does not happen with Reader 8.1, and I found
only one ‘other’ complaint about this kind of a problem on the web
(suggested workaround: remove the signature).
A simple workaround is printing pages in reverse order...
but how do I tell the customer?
I tried several things, such as resetting the clip box on
each page, or saving/restoring pdfStamper byte contents before/after preClose(),
but none of that worked…
So my current workaround is placing my invisible signature
on the _last_ page of the
document. This, of course, results in a screwed up print when someone decides
to print pages in the reverse order.
Is there some better approach to fixing this (probably Adobe
Reader 7 bug)?
|
|||||||||
|
|
Attachment: cid:image001.gif@01C7C221.86246570