1. NAVEEN KUNDAL
  2. PowerBuilder
  3. Monday, 15 October 2018 21:04 PM UTC

I have  added two lines in the PB.INI  file  to save my report datawindows as PDF :

[Data Window]
NativePDF_Valid=1
NativePDF_IncludeCustomFont=1

 

I am able to save report datawindow as PDF.

 

If there is one page, the PDF is fine.

 

If there are two or more pages, the header of the second page comes to the footer of the first page as shown  in the attachment.

 

Please advise how to resolve this issue.

 

 

 

 

 

 

 

 

 

Attachments (1)
Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 16 October 2018 06:08 AM UTC
  2. PowerBuilder
  3. # 1
Hi Naveen,
Thanks for reporting this problem! 
1. This issue is caused by the incorrect NativePDF setting.
Please change the setting in PB.INI file in the following folder:
C:\Users\\AppData\Local\Appeon\PowerBuilder 17.0.
Please refer to the following link for more details:
https://www.appeon.com/support/documents/appeon_online_help/pb2017r3/application_techniques/ch35s08.html#XREF_33724_Using_the_PDFlib
Or you can add the following PB code to enable NativePDFfunction.
dw_1.Modify("DataWindow.Export.PDF.Method = NativePDF!")
dw_1.Modify("DataWindow.Export.PDF.NativePDF.UsePrintSpec = Yes")

2. Please verify if you get the same issue with GhostScript.

3. Kindly please provide a test case (pbl) to us for further study.
We saw you opened a support ticket 1753 in our system and we will follow up with you there.

Thanks for your understanding!

Regards,
Mark Lee
Comment
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.