Only Adobe products can create and fill rights enabled PDFs. Paulo ________________________________
De: [EMAIL PROTECTED] em nome de Edwin S. Ramirez Enviada: sáb 17-Fev-07 18:53 Para: [email protected] Assunto: [iText-questions] Acrobat 8 & Some PDFs Hello, I am having a strange problem with Acrobat 8 and the W4 form from the IRS. It seems that as soon as iText (1.4.8) touches the PDF it can not be opened by Acrobat 8. Does anyone have any ideas. Below is a simple program which I used to reproduce the problem. Also you can visit http://146.203.59.234/samples.html for copies of the Original and the PDF generated by the program. Thanks, Edwin S. Ramirez import com.lowagie.text.*; import com.lowagie.text.pdf.*; import java.io.*; public class pdf_test { public static void main(String[] args) { try { PdfReader reader = new PdfReader("nyres.pdf"); File output = File.createTempFile("w4new", ".pdf", new java.io.File( ".")); FileOutputStream dh = new FileOutputStream(output); PdfStamper stamper = new PdfStamper(reader, dh); stamper.close(); } catch(Exception e) { e.printStackTrace(); } } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
<<winmail.dat>>
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
