1. Arndt Müller
  2. PowerBuilder
  3. Friday, 5 October 2018 06:07 AM UTC

Hi all,

I have encountered a problem with DataWindow Exports as NativePDF and

a Composite DataWindow that contains DataWindow including Fields in RichText Style.

The created PDF-Output is not readable. Just to small and most oft the Text is missing.

If I convert the RichText Fields to StaticText all works fine.

My PB Version is 2017R3 and I’m sure this works with 2017R2.

The problem doesn’t occure on my development machine, only after Deployment to a 2012 R2 Server or an Windows 10 Client.

The SaveAs was done with:

dw_report.Modify ("DataWindow.Export.PDF.Method = NativePDF!")

dw_report.Modify("DataWindow.Export.PDF.NativePDF.ImageFormat = '1'")  // JPG

dw_report.SaveAS("",PDF!,false)

On all Machines the pb.ini contains:

[Data Window]

NativePDF_Valid=1

NativePDF_IncludeCustomFont=1

 

Does someone else have this problem?

Greetings!

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 5 October 2018 13:13 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Arndt;

   That sounds like an interesting combination of nested DWO's and mixture of DWO types as well. I suspect that this might have been a factor in your PDF generation issue (just my guess). My suggestion would be to open a Support Ticket and attach the combination of DWO's that you are using for this PDF. This will allow the Support & Engineering Teams to recreate the scenario to track down a solution.

   In the mean-time ... have you tried generating this PDF using the GhostScript approach instead?

Regards ... Chris

Comment
There are no comments made yet.
Arndt Müller Accepted Answer Pending Moderation
  1. Friday, 5 October 2018 17:56 PM UTC
  2. PowerBuilder
  3. # 1

Thanks Chris,

I will open a Support Ticket.

The GhostScript approach ist working.

Regards .. Arndt

Comment
  1. Chris Pollach @Appeon
  2. Friday, 5 October 2018 18:43 PM UTC
Is that "IS" or "ISNT"?
  1. Helpful
  1. Arndt Müller
  2. Friday, 5 October 2018 18:52 PM UTC
It means "IS". I just typed the german word. :)
  1. Helpful
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.