|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Save from PrintPreviewControlI am using a PrintPreviewControl to preview a report. I have been
trying to save the contents of this report in really any format (.doc, ..pdf, etc.). The best method I have come up with involves printing to a file. But, when I do this, the resulting file is not readable. I have also tried to print to an adobe print driver, which creates the ..pdf, but, it is unreadable as well. Here is a snippet of code: ' Cur.PD1.PrinterSettings.PrintToFile = True ' Cur.PD1.PrinterSettings.PrinterName = "Adobe PDF" ' Cur.PD1.PrinterSettings.PrintFileName = "C:\Barnestorm\bsdoc.pdf" ' Cur.PD1.Print() Thanks for any help you can provide, Andrew |
|||||||||||||||||||||||