Hi,
I have a program where I am trying to save datawindow as PDF using the new new feature in usign NativePDf!
a_dw.Modify ("DataWindow.Export.PDF.Method = NativePDF!")
a_dw.Modify ("DataWindow.Export.PDF.NativePDF.CustomOrientation = 0")
a_dw.Modify ("DataWindow.Export.PDF.NativePDF.CustomSize = 5")
a_dw.saveas('c:\somefolder\test.pdf", PDF!, false)
This works fine everytime in development environment but in rutime it creates a blank pdf?
I have used powerbuilder runtime packager with all option checked to deploy it to 32 bit version. I have also checked that PBPDF170.dll is there.
I have applied the September patch so the date on the pbpdf170.dll is 09/22/17.
It just does not make sense at this point. I need a quick fix as users are frustrated!!!
Olan
The good news is that this oversight should be corrected in the PB2017R2 (revision #2) where the Native PDF feature will now create the dwPage.emf work file in the target folder where you are trying to build the PDF file. Obviously, the target folder should have write permissions already for the App user. The other enhancement will be the creation of a dwPageN.emf file where when the dwPage.emf already exits when threading multiple PDF requests. That means that the PBVM will create a dwPage1.emf, dwPage2.emf, etc work files as required on the fly.