code 1930 from cdintf: PDFDriverInit failed

If you are a VFP developer and have any questions about using our products from VFP here is the place to post them.
Post Reply
chopsdogg
Posts: 16
Joined: Mon Dec 27 2004

code 1930 from cdintf: PDFDriverInit failed

Post by chopsdogg »

trying to install through VFP on a Win 2k3 Server machine.

Getting an error message 1429 OLE IDispatch exception code 1930 from cdintf: PDFDriverInit failed.

Any ideas what might be causing PDFDriverInit to fail?

Here is the code we are using

lcPrinter = "PDFWriter"
lnPrinters = APRINTER(laPrinters)
If ASCAN(laPrinters, lcPrinter) = 0
** Code below assumes that "CDINTF.CDINTF" is a COM object
oAPdfConverter = CreateObject("CDINTF.CDINTF")
oAPdfConverter.PDFDriverInit(lcprinter)
** Next line is what forces printer driver to remain after
** install has completed.
oAPdfConverter.DriverInit(lcprinter)
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

First of all please check that you are logging to the server as Adminstrator.

If the problem prestists please note that this occurs under XP or Windows 2003, if the security policy "Enable installation of Kernel mode printer drivers" in the local security policy is set to off.
The resolution to this issue is to set this policy to ON (http://support.microsoft.com/default.as ... -us;282011) or upgrade to version 2.1 of the Amyuni PDF Converter, which has an additional user-mode printer driver that overcomes this issue.

Hope this helps.

Happy New Year!
chopsdogg
Posts: 16
Joined: Mon Dec 27 2004

Post by chopsdogg »

Thank you for your help Joan. I believe this resolved my issue. I am talking to our devleopers about upgrading to the new version to use the user-mode print drivers.
Post Reply