Hi,
I did my first test of using the new native PDF SaveAs type, first with the scripted method from the help file:
dw_1.Modify ("DataWindow.Export.PDF.Method = NativePDF!")
dw_1.Modify ("DataWindow.Export.PDF.NativePDF.CustomOrientation = 2")
dw_1.Modify ("DataWindow.Export.PDF.NativePDF.CustomSize = 4")
and the second time just in the DataWindow painter by following the steps also from the help file. However, in both cases, I'm getting a blank page in the PDF after each real page in the report. It print-preview's fine in PowerBuilder 2017, and I also tested by printing to a PDF "printer" in Windows, and I'm not getting the blank pages there.
It's the same behavior you see when you have controls in the DW too far to the right and you start getting two horizontal pages in print preview, only my print preview looks fine. Is there some kind of margin setting or some other setting that could be causing this?
Thanks,
Tom George
Thanks for the response. This worked for me on my test example. This might be a more feasible solution for me since I have 500+ reports that I'd rather not touch. I can modify the DW dynamically before the SaveAs.
Thanks,
Tom