- Pierre DETE
- PowerBuilder
- Tuesday, 5 April 2022 03:44 PM UTC
Hello,
I have a different behavior when I print with NativePDF a portrait output between IDE and deployed.
When I run from the IDE the output is fine in portrait, but when I run from a deployed application the layout is smaller, not in full page, like in landscape.
I don't know how to handle it.
I have a pb.ini file into my app directory.
[Data Window]
NativePDF_Valid=1
NativePDF_IncludeCustomFont=1
Just before printing I set :
dw.Modify ("DataWindow.Export.PDF.Method = NativePDF!")
dw.Modify ("DataWindow.Export.PDF.NativePDF.PDFStandard = 1")
The default output is set to Microsoft Print to PDF + Portrait.
What should I check?
Thank you in advance.
Pierre
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.