Standard Support

Bug 1118

Datawindow to PDF 17 May, 2018

Jason Lipman
16 May, 2018
Product: PowerBuilder Category: DataWindow
Version: 2017 R2 Publishing: Public
Status: Scheduling Priority: P3
Classification: Appeon bug Resolution:
Mark Lee 16 May, 2018
Hi Jason,

Thanks for reporting this problem.
We will escalate to our development team for further analysis.
We will need some to figure it out, and we will get back to you if any progress we would make.

Regards,
Mark Lee
Jason Lipman 16 May, 2018
Thank you, Govinda.

Meanwhile, I am following Chris Pollach’s advise and using the Zoom property against an 11x17 page. It is not ideal, but it does create a PDF file more aligned to our requirements.
Govinda Lopez 16 May, 2018
Reproducible Test Case
Govinda Lopez 16 May, 2018
Hi Jason,

I was able to reproduce your case. I will transfer it to our Engineering team for further analysis.

As you can see on the DataWindow Reference (https://www.appeon.com/system/files/product-manual/datawindow_reference_0.pdf page 255) you can use the Export.PDF.NativePDF.CustomSize property which is limited to 7 predefined sizes. That is if you use the Export.PDF.NativePDF.UsePrintSpec = 'No'. That actually looks a little better on your example. But if you set the UserPrintSpec to 'Yes', it is not respecting the size you standarized for the Print Page Size.

I will transfer it to our Engineering team for further analysis. We will keep you posted of the results here.

I have also attached a test case.


Regards,
Govinda Lopez 16 May, 2018
Hi Jason,

I will be working on analyzing/reproducing your case. We will keep you posted of the results here.


Regards,
Jason Lipman 16 May, 2018
*Phenomenon:
Saving a very wide datawindow correctly to NativePDF, as one page, does not work; but instead creates multiple pages to accommodate the width.

*Reproduce Steps:
Please see https://community.appeon.com/groups/powerbuilder/datawindow-nativepdf-2017-r2, which also has the code to create your own datawindow, as Chris Pollach did, to test this out.

Remark:
My company wants to replace PSR with PDF. I have written a script to do so, using NativePDF!, but it is not working per the issue explained above, and detailed in the Appeon Group link. This could become a high priority soon.
OS:
Windows 10 
Platform:
64-bit 
Database Type:
SAP ASE 
Database Version:
SQL Server/12.5/P/Generic/OS/1/OPT/Sat Jun 30 00:01:37 PDT 2001