- Thierry Del Fiore
- PowerBuilder
- Monday, 14 March 2022 01:20 PM UTC
Hi,
in order to get rid off Ghostscript, we're using NativePDF to save datawindow as PDF.
We just migrate from PB2019R2 to PB2019R3, and it seems that the PDF generated are not the same size anymore.
It's like the margin are bigger and also a larger zoom, with the result that some columns are moving to the right, creating a new page.
we use :
dw.Object.DataWindow.Export.PDF.NativePDF.UsePrintSpec = 'Yes'
dw.Object.DataWindow.Print.Paper.Size = '0'
the default is A4 and if we set the value to 9 (A4) we have another (better) result but still different from print preview
If I remember, we experienced this issue in PB2019R1 that was solved in R2 but it's back again in R3.
What we want is the same result in PDF as in the Print preview datawindow.
What would be the values to set ? Is this problem still present in PB2021 ?
Best regards
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.