- Thomas George
- PowerBuilder
- Monday, 10 July 2017 05:09 PM UTC
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
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.