Hi all,
I am having trouble figuring out why an image from a datawindow using NativePDF to create a PDF, looks fine on my local environment but low quality when it is generated in our Citrix environment. This happens for both powerclient and non-powerclient versions. The image is include pulled from the .pbr file.
The image is a .png. I also notice the size of the PDF is much smaller when generate in Citrix.
Currently using this code to generate:
dw_print.Object.DataWindow.Export.PDF.NativePDF.UsePrintSpec = 'Yes'
dw_print.Object.DataWindow.Export.PDF.Method = NativePDF!
dw_print.Object.DataWindow.Export.PDF.NativePDF.ImageFormat = '2'
dw_print.Object.DataWindow.Print.Paper.Size = 1 //1 – Letter 8 1/2 x 11 in
dw_print.Object.DataWindow.Export.PDF.NativePDF.MasterPassword = ''
dw_print.SaveAs(ls_doc, PDF!, true)
I have running PowerBuilder 2022 R3 Build 3289. My work environment is windows 11 and our citrix is on Windows 10.
Let me know if any more information is needed.
Thanks.