Hi All,

I have written an agent in Ltus Notes in JAVA for creating and saving the PDF 
file. But when I am doing the same it is giving me no error but file is also 
not getting saved. Can some one help me what I must have done wrong I am also 
appending the code which I have used to save the file on server.

              String path = "/local/notesdata/appln/Reports/" + strDate + 
".pdf";
            File PdfAtt = new File(path);

            Document pdfDoc = new Document(PageSize.A4.rotate());
            PdfWriter writer = PdfWriter.getInstance(pdfDoc, new 
FileOutputStream(path));

But it is not giving any error nor it is getting saved on server. Can somebody 
let me know what can be the issue here.
Thanks.
Regards,
Siddhartha
Founder – Freelancer

Chirayu Softwares
A-103, Aster Tower,
Gen. A. K. Vaidya Marg,
Malad East, Mumbai – 400 097,
India.
) +91 98205 23191
) US No.: +1 609 423 4420
* siddhar...@chirayusoftwares.in

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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