[iText-questions] Problem with signed PDF

2007-10-02 Thread webtom
Hi, i try to implement the following steps: 1) reading a signed pdf 2) adding a javascript code to the pdf and 3) printing the pdf to the default printer. ... try { PdfReader reader = new PdfReader(pdfByteArray); //pdfByteArray represents the content of pdf file PdfStamper stamper = new PdfS

[iText-questions] PDF print problem

2007-09-28 Thread webtom
Hi, i want to print a pdf file silently via java code but the following exception is thrown by document.close(): ExceptionConverter: java.io.IOException: The document has no pages. Opening the document is successful and the document also has a content. I use itext-2.0.4.jar. Here is my java cod