Bug 5231

SInce upgrading to PB2019 R2 I can no longer saveas PDF! 15 September, 2020

Sean Ogilvie
10 September, 2020
Product: PowerBuilder Category: DataWindow
Version: 2019 R2 Build: 2353
Classification: Issue Publishing: Public
Priority: P3
Status: Closed Reason: RESOLVED
Mark Lee @Appeon 15 September, 2020
#3
Hi Sean,

Excellent news.
Thanks for your feedback! We will proceed to close this ticket.
You are welcome to open a new ticket if you have other issue.
Have a good day!

Regards,
Mark Lee
Sean Ogilvie 15 September, 2020
#2
Thanks Mark, Yes this has fixed my issue.
Resolved
Cheers
Mark Lee @Appeon 11 September, 2020
#1
Hi Sean,
 
Thanks for reporting this problem.
Please refer to the following links and see if it can resolve your problem.
https://docs.appeon.com/pb2019r2/whats_new/ch01s09.html
https://docs.appeon.com/pb2019r2/pbug/ch20s03.html#Saving_as_PDF_using_PDFlib
 
Currently, the settings of the two sections NativePDF_IncludeCustomFont and NativePDF_Valid will no longer take effect in the pb.ini file.  You need to select "Always use NativePDF! method for PDF export" in the Application Properties dialog box.

Regards,
Mark Lee
Sean Ogilvie 10 September, 2020
*Phenomenon:
SInce upgrading to PB2019 R2. I can no longer saveas PDF!
Checking in debug, this produces return of -1
li_rc = dw_rpt.saveAs(ls_filename, PDF!, True)
This worked in PB2017
I have my ini files set with
[Data Window]
NativePDF_Valid=1
Works with PBPDF170.dll, but not with PBPDF190.dll (18/4/2020)

*Reproduce Steps:
Test builds with PBPDF170.dll, then with PBPDF190.dll (18/4/2020)
li_rc = dw_rpt.saveAs(ls_filename, PDF!, True)

Remarks:
This fails running the target from the IDE as well in PB19 R2
OS:
All
Platform:
All
Database Type:
Oracle
Database Version:
Oracle 12c