Hi
This is really very silly. I am able to succesfully create pdf documents
without any issues using Itext. But printing the same document takes a long
time. I am sure the file size is not the issue (903 bytes). I am using Itext
2.1.5. At first i thought it had to do with my printing images in tables . But
i reduced the problem to the Helloworld.java and that takes over a minute to
print..Does anyone know what could be the reason. I am using Adobe Acrobat 8.0
Professional for Printing and it prints other documents fine..Very mysterious.
I dont think it is the printer either(RICOH Aficio MP 5000 PS)
Thanks in advance
-Arun
System.out.println("Hello World");
// step 1: creation of a document-object
Document document = new Document();
try {
// step 2:
// we create a writer that listens to the document
// and directs a PDF-stream to a file
PdfWriter.getInstance(document,
new FileOutputStream("HelloWorld.pdf"));
// step 3: we open the document
document.open();
// step 4: we add a paragraph to the document
document.add(new Paragraph("Hello World"));
} catch (DocumentException de) {
System.err.println(de.getMessage());
} catch (IOException ioe) {
System.err.println(ioe.getMessage());
}
// step 5: we close the document
document.close();
}
EMAILING FOR THE GREATER GOOD
Join me
HelloWorld.pdf
Description: Adobe PDF document
------------------------------------------------------------------------------
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
