- Faisal Hayat
- PowerBuilder
- Thursday, 20 September 2018 10:13 AM UTC
Hi Everyone,
I am using PB2017 R3 and looking to use Native PDF functionality . Here is what I have done in order to utilize the Native PDF functionality.
I added Datawindow section in pb.ini as below
[Data Window]
NativePDF_IncludeCustomFont=1
NativePDF_Valid=1
Note: I didn't changed any datawindow export property or any other code changes to use Native PDF.
It worked perfectly fine on local machine with source code and it also worked on server even using Citrix. But later on I ran into an issue of having PDF file on multiple pages, I am sure you know the page size difference of Native (8.26*11.70) and normal page size (8.5*11.00). The same file was being exported to one page until there was only one user on the server. After spending hours on analyzing the issue I have found that if you are having Sybase datawindow printer either on server or local machine and it is default your pdf file is not in correct format.
Can someone help me to sort out the issue. Thanks
I have deployed pb.ini in same folder of application.
I have deployed R3 dlls accordingly.
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.