Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save/Print Report as a PDF file

Status
Not open for further replies.

sessai

Programmer
Aug 1, 2006
2
LU
hi,

how can i save my report as a pdf file?
i've installed the acrobat professional edition and i call the triver in my c#:

oRpt.PrintOptions.PrinterName = @"\\Schneider\AdobePDF";
oRpt.PrintOptions.PaperSource = PaperSource.Auto;
oRpt.PrintOptions.PaperSize = PaperSize.PaperA4;
oRpt.PrintToPrinter(1,true,73,73);

but how can i indicate the filename and the filepath?
or is there a default filepath??

thanks a lot, stephanie
 
you just select File>Export>select PDF file from drop down menu

then you choose your desired save location and file name
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top