In PB 2017R2, I have a datawindow that successfully saves as PDF in the prod environment, but in Dev and local environments the PDF fails.
This is in script, the file name is valid:
// Create the ticket PDF
ll_rc = dw_meter_ticket_email_form.SaveAs(is_pdf_file, PDF!, True)
SaveaAs returns -1
This is in pb.ini in all environments:
[Data Window]
NativePDF_Valid=1
NativePDF_IncludeCustomFont=1
PDF SaveAs has worked since implementing 2017R2. No longer use Ghost Script. Not sure where else to look.
Any help is appreciated.