Hi, 

I created a java application on eclipse on Mac os with a report generation with 
text. It works fine on mac os, but when I put the application on a windows os 
it create a pdf that cannot be opened by adobe acrobat reader or any other 
reader. The file seams to be empty (0kb) and corrupt. 

I'm using a pdfWriter and i'm closing the document. 

Can someone help me? 

Thanks, 

Valdroc


PdfWriter.getInstance(document, new FileOutputStream(chemin)); 
document.open();
..
..
..
..
..
document.close();

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to