I have the following code to create a PDF file from a frx.
SET PRINTER TO NAME 'Acrobat PDFWriter'
lcDefaultDir = SYS(5) + SYS(2003)
SET DEFAULT TO SYS(2003)
REPORT FORM nameofreport.frx TO PRINTER NOCONSOLE
SET DEFAULT TO (lcDefaultDir)
SET PRINTER TO DEFAULT
My question is how do I avoid the "Save PDF File as" prompt window to appear. In addition, the pdf file defaults to what my report name is. Is there a way to name the file whatever I want.
Thanks
SET PRINTER TO NAME 'Acrobat PDFWriter'
lcDefaultDir = SYS(5) + SYS(2003)
SET DEFAULT TO SYS(2003)
REPORT FORM nameofreport.frx TO PRINTER NOCONSOLE
SET DEFAULT TO (lcDefaultDir)
SET PRINTER TO DEFAULT
My question is how do I avoid the "Save PDF File as" prompt window to appear. In addition, the pdf file defaults to what my report name is. Is there a way to name the file whatever I want.
Thanks