Bug 7436
NativePDF! enhancement request 23 May, 2022

alex co
28 October, 2021
Product: | PowerBuilder | Category: | DataWindow |
Version: | 2021 | Build: | 1288 |
Classification: | Enhancement | Publishing: | Public |
Priority: | P3 | ||
Status: | Closed | Reason: | RECORDED AS ENHANCEMENT |

Appeon Product
23 May, 2022
#14
Mark Lee @Appeon
31 October, 2021
#13
Hi Alex, Thanks for your detailed explanation. We will submit this for an internal review and will keep you updated! Regards, Mark Lee
Hi Alex, Thanks for your detailed explanation. We will submit this for an internal review and will keep you updated! Regards, Mark Lee
Thank you Mark for your reply. We choose to implement PDF save as using option #1 can set all DataWindows in the current application at one time. I really find it redundant that when you save as to PDF that you need a second setting in the Data Export to allow the use of the paper size and orientation from print specification. in my opinion it should be defaulted to use the print specifications, but allows you to specify another paper size if you really don't want to use the print specifications already defined when you export.
Thank you Mark for your reply. We choose to implement PDF save as using option #1 can set all DataWindows in the current application at one time. I really find it redundant that when you save as to PDF that you need a second setting in the Data Export to allow the use of the paper size and orientation from print specification. in my opinion it should be defaulted to use the print specifications, but allows you to specify another paper size if you really don't want to use the print specifications already defined when you export.
Mark Lee @Appeon
28 October, 2021
#11
Hi Alex, Thanks for reporting this problem. 1. Regarding enabling NativePDF for all DataWIndow, you can enable the "Always use NativePDF! method for PDF export" setting without the need to set “Method = NativePDF!” in code. You can refer to the following link for detail https://docs.appeon.com/pb2021/pbug/ch06s02.html#Saving_as_PDF_using_PDFlib Additionally, when you add new DataWindow in PB 2019 R2 and later versions, it also always default to NativePDF. 2. Regarding the “Use paper Size from Print Specifications = ON” enhancement request, we will submit this issue to our development to further analyze the issue. It will take some time to reach a conclusion. We will keep you updated! Regards, Mark Lee
Hi Alex, Thanks for reporting this problem. 1. Regarding enabling NativePDF for all DataWIndow, you can enable the "Always use NativePDF! method for PDF export" setting without the need to set “Method = NativePDF!” in code. You can refer to the following link for detail https://docs.appeon.com/pb2021/pbug/ch06s02.html#Saving_as_PDF_using_PDFlib Additionally, when you add new DataWindow in PB 2019 R2 and later versions, it also always default to NativePDF. 2. Regarding the “Use paper Size from Print Specifications = ON” enhancement request, we will submit this issue to our development to further analyze the issue. It will take some time to reach a conclusion. We will keep you updated! Regards, Mark Lee
Chris Pollach @Appeon
28 October, 2021
#9
Hi Alex; Thank you for confirming that my settings worked OK for you! I will now transfer this ticket though over to the main Support / Engineering team for their review & consideration as an enhancement suggestion as per your initial feedback. Regards ... Chris
Hi Alex; Thank you for confirming that my settings worked OK for you! I will now transfer this ticket though over to the main Support / Engineering team for their review & consideration as an enhancement suggestion as per your initial feedback. Regards ... Chris
yes after following your suggestions it has corrected the issue I have observed, please close the ticket. and if possible please look at my suggestions.
yes after following your suggestions it has corrected the issue I have observed, please close the ticket. and if possible please look at my suggestions.
Chris Pollach @Appeon
28 October, 2021
#6
Hi Alex; I assume that the NativePDF feature is now working OK for 11 x 17 on your PB App DWOs as well - after setting the DWO properties to the ones I recommended? Regards ... Chris
Hi Alex; I assume that the NativePDF feature is now working OK for 11 x 17 on your PB App DWOs as well - after setting the DWO properties to the ones I recommended? Regards ... Chris
paper size in data export does not list all the values found in print specifications 41 types . Data Export 1) Method = NativePDF! 2) PDF Conformance = None 3) Use paper Size from Print Specifications = ON
paper size in data export does not list all the values found in print specifications 41 types . Data Export 1) Method = NativePDF! 2) PDF Conformance = None 3) Use paper Size from Print Specifications = ON
i see you need to specify these additional settings for the data export, enhancement request can we then set these values to default based on the application preference to use native PDF, method defaults to NativePDF!, use the paper size from the print specification defined for the datawindow default to yes. application additional properties pdf export Data Export 1) Method = NativePDF! 2) PDF Conformance = None 3) Use paper Size from Print Specifications = ON
i see you need to specify these additional settings for the data export, enhancement request can we then set these values to default based on the application preference to use native PDF, method defaults to NativePDF!, use the paper size from the print specification defined for the datawindow default to yes. application additional properties pdf export Data Export 1) Method = NativePDF! 2) PDF Conformance = None 3) Use paper Size from Print Specifications = ON
Chris Pollach @Appeon
28 October, 2021
#3
Hi Alex; I was able to generate an 11 x 17 PDF file with no problems on my test systems using PB2021 build 1288 on W10 21H1 build 19043.1288. Here are the settings in the DWO that I used in my testing ... General Tab 1) Units = inches Print Specifications 1) Orientation = Landscape 2) Size = 11x17 3) Source = Default Data Export 1) Method = NativePDF! 2) PDF Conformance = None 3) Use paper Size from Print Specifications = ON The generated PDF was 11x17 as verified by Acrobat Reader and FireFox's PDF feature. All data lined up OK in the PDF as per the DW Painter. Please try the above. HTH Regards ... Chris
Hi Alex; I was able to generate an 11 x 17 PDF file with no problems on my test systems using PB2021 build 1288 on W10 21H1 build 19043.1288. Here are the settings in the DWO that I used in my testing ... General Tab 1) Units = inches Print Specifications 1) Orientation = Landscape 2) Size = 11x17 3) Source = Default Data Export 1) Method = NativePDF! 2) PDF Conformance = None 3) Use paper Size from Print Specifications = ON The generated PDF was 11x17 as verified by Acrobat Reader and FireFox's PDF feature. All data lined up OK in the PDF as per the DW Painter. Please try the above. HTH Regards ... Chris
NATIVEPDF_GENERATED.pdf (407KB) using NativePDF!
Created attachment 9125 NATIVEPDF_GENERATED.pdf (407KB) using NativePDF!
GHOSTSCRIPT_GENERATED.pdf (187KB) ghostscript generated pdf
Created attachment 9124 GHOSTSCRIPT_GENERATED.pdf (187KB) ghostscript generated pdf
alex co
28 October, 2021
*Phenomenon: DATAWINDOW with Print Specification Paper Size 11 x 17 in, landscape is saving as PDF in papersize 8x11, landscape *Reproduce Steps: save as PDF in native PDF. save as pdf using Ghostscript Remarks: we want to get rid of ghostscript. please enhance the NativePDF! to save in the paper size definition of the DW
*Phenomenon: DATAWINDOW with Print Specification Paper Size 11 x 17 in, landscape is saving as PDF in papersize 8x11, landscape *Reproduce Steps: save as PDF in native PDF. save as pdf using Ghostscript Remarks: we want to get rid of ghostscript. please enhance the NativePDF! to save in the paper size definition of the DW
OS:
Windows 10
Platform:
64-bit
Database Type:
Microsoft SQL Server
Database Version:
2019