I need to programatically print to a PDF file. I'm setting the printer driver to the PDFWriter, but I'm being prompted for a file name to print to. I'd like to set the file name and print without a prompt but I can't find the property.
APP = Create('Crystal.CRPE.Application')
REPORT = app.OpenReport('xyz2pdf.rpt')
report.selectprinter('','Acrobat PDFWriter','Disk')
report.PrintOut(.f.) && Getting prompt for "Save PDF as" file name here.
TIA,
E.R.
Regards,
E.R. Gilmore