Page 1 of 1

Error 5

Posted: Tue Jun 22, 2010 11:39 pm
by jsung
It used to work fine but now I'm getting this error when I run the printer from the application.
I get this message from Bullzip PDF Printer 7.1.0.1195:

An error occurred.
Error 5: Invalid procedure call or argument
Source: GUI
Internal hist: Extract document properties such as title and author

And here's my global.ini:

[PDF Printer]
DisableOptionDialog=yes
Output=C:\ProgramData\ProgramX\Test.pdf
ShowSaveAS = never
ShowSettings = never
ShowPDF = no
ShowProgress = no
ShowProgressFinished = no
ConfirmOverwrite = no

Re: Error 5

Posted: Thu Jun 24, 2010 12:00 am
by jsung
I no longer see the error message. But I'm still wondering what might have caused it.

Is anyone familiar with what that error message means?

My guessing it's from this line of code:

axWebBrowser.ExecWB(Print, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, ref o, ref o);

Our application was running from a remote desktop connection to a Windows Server 2008 R2 server.

Re: Error 5

Posted: Thu Jun 24, 2010 7:13 am
by jr
Error 5 is usually some kind of permission problem.

Regards,
Jacob