Error 5

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Post Reply
jsung
Posts: 2
Joined: Tue Jun 22, 2010 11:34 pm

Error 5

Post 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
jsung
Posts: 2
Joined: Tue Jun 22, 2010 11:34 pm

Re: Error 5

Post 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.
jr
Site Admin
Posts: 500
Joined: Sun Mar 26, 2006 12:28 pm

Re: Error 5

Post by jr »

Error 5 is usually some kind of permission problem.

Regards,
Jacob
Post Reply