Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Invisible signature 'breaking' printing in Adobe
 Reader 7

Martin Brunecky

2007-07-09

Replies:

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)?

 

 

 

Martin Brunecky
Software Architect

RecordFusion

mbrunecky@att.net
AIM: mbrunecky

tel:
fax:

303-865-8847 x 225
303-865-8846

 

Add me to your address book...

Want a signature like this?

 


Attachment: cid:image001.gif@01C7C221.86246570

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.