>Lparameters lcReportName, lcPDFFileName, llNext1 >Local lcPDF, lcPS >lcPDF = Addbs(Justpath(lcPDFFileName)) + Juststem(lcPDFFileName) + ".pdf" >lcPS = Addbs(Justpath(lcPDFFileName)) + Juststem(lcPDFFileName) + ".ps" > >Set Printer To Name 'Adobe PDF' >If llNext1 > Report Form (lcReportName) To File (lcPS) Noconsole Next 1 >Else > Report Form (lcReportName) To File (lcPS) Noconsole >Endif >Set Printer To Default > >If File(lcPS) > loDist = Createobject("pdfDistiller.PDFDistiller.1") > lnResult = loDist.FileToPDF(lcPS,lcPDF,"") >Endif>I am using Adobe Acrobat 8. I have put in a wait window to check the path/filename string and it is always correct. Are there any gotcha's with this type of command? Any suggestions on other ways to do the same thing?