Printurl crash

Hi,

I develop in C# a function to print an url and sometimes I have the following error

 

----------------------------------------------------------------------
PDFCreator - www.pdfforge.org
----------------------------------------------------------------------
Errorprotocol
----------------------------------------------------------------------
PDFCreator 0.9.9 - Error message
----------------------------------------------------------------------
ERROR DESCRIPTION:
          Error-Nr:    -2147023170 (Automation error
The remote procedure call failed. )
          Modul:    modMain
          Procedure:    PrintURL
          Line:         50040
          Date/Time:    03-04-2010 / 17:17:44
----------------------------------------------------------------------
CALLSTACK:
----------------------------------------------------------------------
SYSTEMINFO:
 Windows XP 5.1 Build 2600 (Service Pack 2)
  [TerminalServer WinXP WinXPProEdition WinXPSP2 IsWinXPPlus IsWinXPProEdition]
----------------------------------------------------------------------