PDFCreator 1.3.2 Error-Nr: 53 (File not found), Modul: clsInfoSpoolFile

The following error occurred after repeated (serial) activations of PDFCreator via HTMLPrint

invoked in a perl script. PDFCreator is configured to output to the file TempPDF.pdf.

When TempPDF.pdf file appears, script waits for its length to stabilize, then moves it to another directory.

Error frequency is about once every 2000 activations. The file may be moved prematurely; the script

depends on length to stabilize for several seconds. If TempPDF.pdf is being moved too soon, is there

a better way to detect when PDFCreator is done making it? If not, how else to avoid the error? Thanks.

 

----------------------------------------------------------------------
PDFCreator - www.pdfforge.org
----------------------------------------------------------------------
Errorprotocol
----------------------------------------------------------------------
PDFCreator 1.3.2 - Error message
----------------------------------------------------------------------
ERROR DESCRIPTION:
          Error-Nr:    53 (File not found)
          Modul:    clsInfoSpoolFile
          Procedure:    ReadInfoFile
          Line:         50220
          Date/Time:    04-20-2012 / 11:50:42
----------------------------------------------------------------------
CALLSTACK:
----------------------------------------------------------------------
SYSTEMINFO:
 Windows 2008 R2 Server 6.1 Build 7601 (Service Pack 1)
  [TerminalServer IsWinXPPlus IsWinVistaPlus IsWinVistaSP1 IsWin2008R2Server]
----------------------------------------------------------------------

 

Hi,

 

there are three better ways to do this;) The easiest is using the built in action after saving to move the file, or you could subscribe to com events, or you could check if the file is still opened.

 

regards,

 

Robin