OLD lDispatch exception code 1797 from cdintf: PDFDriverInit failed..on the following line of code:
oPDFPrinter.PDFDriverInit( "PDF Compatible Printer Driver")
I read what you said about the printer names and have tried different printer names, unistalling it, reinstalling it, but it seems to want to crash on this. Any ideas?* NOTE: CDINTF.DLL must be registered on your machine >* (REGSVR32 CDINTF.DLL)There is also an FLL supplied by Amyuni that you can use with VFP. The code would be similar but not identical. I preferred to use the DLL so that's the way I wrote the sample.