1. Hussain Albloshi
  2. PowerBuilder
  3. Monday, 12 September 2022 02:12 AM UTC

Hi 

 this scrip i am use to export datawindows  to pdf  its work but  Arabic its not support please help   
int li_ret
dw1.Object.DataWindow.Export.PDF.NativePDF.UsePrintSpec = 'No'
dw1.Object.DataWindow.Export.PDF.Method = NativePDF!
dw1.Object.DataWindow.Export.PDF.NativePDF.CustomSize = '0'
li_ret = dw1.SaveAs("custom.pdf", PDF!, true)

 

John Fauss Accepted Answer Pending Moderation
  1. Monday, 12 September 2022 03:06 AM UTC
  2. PowerBuilder
  3. # 1

What version/release/build of PB are you using? The reason I ask is because Appeon has made several improvements to NativePDF since the feature was introduced in PB 2017, and knowing the version/release/build will help us know what options are available for you to try.

If you are using PB 2019 R2 or later, I suggest you try setting the option in the Application object to include custom fonts in NativePDF output:

   https://docs.appeon.com/pb2022/pbug/Saving_data_in_an_external_file.html#Saving_as_PDF_using_PDFlib

I don't if this will resolve your issue, but it's worth a try.

Best regards, John

Comment
  1. Hussain Albloshi
  2. Tuesday, 13 September 2022 05:00 AM UTC
PowerBuilder 2022
  1. Helpful
  1. Logan Liu @Appeon
  2. Tuesday, 13 September 2022 08:56 AM UTC
Hi Hussain,

Please try John's suggestion to see if it works.

If still not resolved, please report your issue (including the sample code) via our support ticketing system to ensure it is being properly received by our tech support and tracked at: https://www.appeon.com/standardsupport/

Regards, Logan
  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.