Has anyone else had an issue converting a DW to PDF with a small PNG icon in the detail band?
The first page renders just fine:
.. but it starts overlapping multiple images on subsequent pages:
It happens on Grid and Freeform, but I was able to verify that this only happens when you have a DataWindow with groups.
Anyone know of a workaround?
UPDATE:
It seems that if a group header has a non-zero height, the images on subsequent pages are affected.
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- 2019R2 Native PDF and PNG in Detail Band
- Daniel Johnson
- PowerBuilder
- Thursday, 24 September 2020 13:43 PM UTC
- Thursday, 24 September 2020 19:33 PM UTC
- PowerBuilder
- # 2
Hi Dan;
Tested with your DWO & images.
DW Painter Preview => Native PDF => Distill PDF
Note: Tested with PB 2019 R2 build 2353
Regards ... Chris
Comment
- Chris Pollach @Appeon
- Thursday, 24 September 2020 20:03 PM UTC
Hi Dan;
Worked perfectly for me until I added .... dw.Modify ("DataWindow.Export.PDF.NativePDF.UsePrintSpec = Yes")
That seems to be the source if the image distortion!!! :-(
Regards
Worked perfectly for me until I added .... dw.Modify ("DataWindow.Export.PDF.NativePDF.UsePrintSpec = Yes")
That seems to be the source if the image distortion!!! :-(
Regards
-
Helpful Loading... Helpful 0
- Daniel Johnson
- Friday, 25 September 2020 13:34 PM UTC
Interesting.. I commented just that line and still see the issue. You are looking at the SECOND page, correct?
-
Helpful Loading... Helpful 0
- Chris Pollach @Appeon
- Friday, 25 September 2020 14:26 PM UTC
Yes, 2nd page is OK for me
Check your DWO to see if that property is already ON.
Check your DWO to see if that property is already ON.
-
Helpful Loading... Helpful 0
There are no comments made yet.
- Thursday, 24 September 2020 18:27 PM UTC
- PowerBuilder
- # 3
Greetings, Daniel -
Have you tried using a jpg/jpeg instead of png?
For reasons unknown to me, PB seems to experience unusual "issues" using graphics files in png format in conjunction with NativePDF support.
Regards, John
Comment
- Daniel Johnson
- Thursday, 24 September 2020 18:35 PM UTC
Yes, this issue does not appear when using JPG.
-
Helpful Loading... Helpful 0
- Chris Pollach @Appeon
- Thursday, 24 September 2020 19:30 PM UTC
Thanks Dan. I'll post a screen capture for you to look at. Seems to work OK for me all around.
-
Helpful Loading... Helpful 0
There are no comments made yet.
- Thursday, 24 September 2020 15:03 PM UTC
- PowerBuilder
- # 4
Hi Daniel;
Would you have a simple DWO source and a few images that you can attach to this post? Then we can see if we can replicate this issue.
Regards ... Chris
Comment
- Daniel Johnson
- Thursday, 24 September 2020 19:01 PM UTC
Sure, I added a zip of a datawindow and image.
Thanks, Chris! :)
Thanks, Chris! :)
-
Helpful Loading... Helpful 0
There are no comments made yet.
- Page :
- 1
There are no replies made for this question yet.
However, you are not allowed to reply to this question.
However, you are not allowed to reply to this question.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »
Besides what Chris mentioned, have you tried doing a Full build and optimize?
Regards,