VFP 8.0 and Acrobat PDF Writer

Hi,
We have an application developed in VFP 8.0. Our clients are having a problem while printing reports to normal printer AFTER they have printed to an Acrobat PDF writer and created a PDF file. The reports print fine when they send it to a normal printer without sending it to a PDF writer. Subsequent to sending it to a PDF writer and creating a PDF file, the reports throw an error saying "File Not Found" when printed to a normal printer.
This problem does not appear if the clients create and save the PDF in the same directory from where our application runs.
Can anyone let us know the reason for this
Thanks in advance.
BABS


Answer this question

VFP 8.0 and Acrobat PDF Writer

  • m_armstrong

    YO ERIC!!! U were right! It worked!
    Thanks a lot!
    BABS

  • Sven_Dataelektronik

    I *think* Adobe changes the current dir when it saves the file to disk. Try the following:

    LOCAL lcCurDir AS String
    lcCurDir = SYS(5) + SYS(2003)
    REPORT FORM yourreport TO pdfwriter
    CD (lcCurDir)
    REPORT FORM yourreport TO PRINTER PROMPT



  • VFP 8.0 and Acrobat PDF Writer