Hi Tim !
I just recompiled my VFP8 project with VFP9 then I run it and ry it and it seems that it works as usual (read -> just fine) with Amyuni PDF converter (WinXP client). Maybe it helps you, (if no do just ask)
My code is different them your code buyt naybe it helps you
...
lcPDFPrinterName = "Lider PDF" && "Amyuni PDF etc...
...
goPDFPrinter.DriverInit( lcPDFPrinterName )
......
...
goPDFPrinter.EnablePrinter( pdf_AmyuniLicenseCompany, pdf_AmyuniLicenseCode)
...
set printer to name (lcPDFPrinterName)
REPORT FORM ( tcReportName) NOEJECT NOCONSOLE TO PRINTER
...
>We are using
www.amyuni.com 's pdf converter (version 2.10) since upgrading to VFP9 the following printing code no longer works anymore.
>
>
>lcReport="c:\develop\questpdm.ora\test pdf\testpdf.frx"
>lcPDFFile="c:\develop\questpdm.ora\test pdf\test_output.pdf"
>cPrtCondition="PRINTER NOCONSOLE"
>
>oPdf = CreateObject("CDINTFEx.CDINTFEx")
>oPdf.DriverInit("QuestPDM PDF Printer Driver 436")
>oPDF.EnablePrinter("RUNTIME A/S","My Code here")
>SET PRINTER TO NAME "QuestPDM PDF Printer Driver 436"
>Report Form (lcReport) TO PRINTER NOCONSOLE
>
>
>On the report form command I get the error "error loading printer driver".
>
>The same code works fine in vfp8 on the same machine.
>
>Does anyone know what changes have been done that could cause this or how I can fix this error?
>
>I tried to delete the tag and expr fields but it didnt work.
>
>BR
>Tim