How to save automatically the .pdf generated? [message #89157] |
Wed, 09 November 2005 12:20 |
Eclipse User |
|
|
|
Originally posted by: nicolasmondon.gmail.com
Hello,
I have to save automatically the generated report in pdf, but without
Adobe reader.
In fact, i have to send automatic emails with the generated report.
Is it possible, when I generate the report, to save it automatically -
without asking the user to do it?
Thanks.
|
|
|
Re: How to save automatically the .pdf generated? [message #89297 is a reply to message #89157] |
Wed, 09 November 2005 18:12 |
Eclipse User |
|
|
|
Originally posted by: mlorenz.nc.rr.com
You have to set the output filename. Something like this:
// Set up options for PDF output.
HTMLRenderOption options = new HTMLRenderOption( );
options.setOutputFormat( HTMLRenderOption.OUTPUT_FORMAT_PDF );
String outputFileName = "C:\\MyReport.pdf";
options.setOutputFileName(outputFileName);
HTH, Mark
|
|
|
|
Powered by
FUDForum. Page generated in 0.03426 seconds