- Avory Rose Pastoral
- PowerBuilder
- Monday, 16 October 2023 03:20 AM UTC
Hi,
I am exporting pdf using the following script:
dw_printer.Modify("DataWindow.Export.PDF.Method = NativePDF!")
dw_printer.Modify("DataWindow.Export.PDF.NativePDF.ImageFormat = '2'")
dw_printer.SaveAs(s_newfilename, PDF!, FALSE)
dw_printer.SaveAs(s_newfilename2, PDF!, FALSE)
dw_printer.SaveAs("C:\testfolder\pdf\" + s_cpno + '_DPP_' + s_agennme + '_' + s_adver + ".pdf" , PDF!, FALSE)
The output is the same with how the layout look in datawindow but when I put a logo/image, the image is not displaying every time I print. Tried Distill! and installing a ghostscript too but still the image is not displaying.
Is there a way to resolve this issue? I am using PB 12.5. Any help would be so much appreciated. Thank you.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.