AndrewMozley
Programmer
I am running a VFP9 application, and am using PDFCreator to create the .pdf file. My code looks pretty much like this :
oPDFC = CREATEOBJECT("PDFCreator.clsPDFCreator","pdfcreator")
oPDFC.cStart("/NoProcessingAtStartup")
oPDFC.cOption("UseAutosave") = 1
oPDFC.cOption("UseAutosaveDirectory") = 1
oPDFC.cOption("AutosaveFormat") = 0
oPDFC.cDefaultprinter = "pdfcreator"
oPDFC.cOption("AutosaveFilename") = cpdfName
oPDFC.cOption("AutosaveDirectory") = cOutFolder
oPDFC.cprinterstop=.F.
SET PRINTER TO NAME (oPDFC.cDefaultprinter)
REPORT FORM (lRepName) NOCONSOLE TO PRINTER
This works fine and produces a .pdf file which I can view using Adobe. However I would like to provide the option for the user to view the .pdf file within the application. Is that possible?
I feel that it is probably defined somewhere within the PDFForge documentation, but have not really found my way round that yet.
Thanks. Andrew M.
oPDFC = CREATEOBJECT("PDFCreator.clsPDFCreator","pdfcreator")
oPDFC.cStart("/NoProcessingAtStartup")
oPDFC.cOption("UseAutosave") = 1
oPDFC.cOption("UseAutosaveDirectory") = 1
oPDFC.cOption("AutosaveFormat") = 0
oPDFC.cDefaultprinter = "pdfcreator"
oPDFC.cOption("AutosaveFilename") = cpdfName
oPDFC.cOption("AutosaveDirectory") = cOutFolder
oPDFC.cprinterstop=.F.
SET PRINTER TO NAME (oPDFC.cDefaultprinter)
REPORT FORM (lRepName) NOCONSOLE TO PRINTER
This works fine and produces a .pdf file which I can view using Adobe. However I would like to provide the option for the user to view the .pdf file within the application. Is that possible?
I feel that it is probably defined somewhere within the PDFForge documentation, but have not really found my way round that yet.
Thanks. Andrew M.