Take a look at faq#658 'How do I use the Amyuni PDF Converter in VFP'.
>Hi all.
>
>Im trying to use Amyuni PDF Converter (the demo version), i registred de CDINTF.DLL and no problems here...
>
>When I try to use the dll inside VFP(7) , it seems to work in the this lines:
>oPDFPrinter = CREATEOBJECT( "CDINTF.CDINTF" )
>oPDFPrinter.PDFDriverInit( "PDF Driver" )
>
>But when i issue this line (or some of the others), it gives me a OLE Error and tell me to check on the printer instalation.
>oPDFPrinter.DefaultFileName = "My file.pdf"
>
>The printer is created in the printers panel in windows, it stays there with the given name, but even if try to make :
>SET PRINTER TO NAME "PDF Driver"
>
>It gives the "Error accessing printer spooler" message!
>
>Can anyone help me?
>
>TIA
--sb--