Error 70 : Persmission denied
We have a script to print Lotus Notes documents to PDFCreator. After ca 30.000 documents the printer stops with the error: 70 (Permission denied)
Modul: clsStdl0
Procedure: Stdln
line: 50180
Title: PDFSPO~1 V2.3.0 - Error message
The Script runs from Lotus (LotusScript) on a win2003 server.
Code snippet:
......
Set pdfjob = CreateObject("PDFCreator.clsPDFCreator")
If Not pdfjob.cStart("",True) Then
Goto TheEnd
End If
.....
With pdfjob
.cOption("UseAutosave") = 1
.cOption("UseAutosaveDirectory") = 1
.cOption("AutosaveDirectory") = sPDFPath$
.cOption("AutosaveFilename") = sPDFName$
.cOption("AutosaveFormat") = 0 ' 0 = PDF
.cClearCache
If Not .cOption("AutosaveDirectory") = sPDFPath$ Then
Goto TheEnd
End If
End With
.... print ....
tTimer = 0
Do While ((pdfjob.cCountOfPrintjobs = 1) And (tTimer < MaxPrintTime))
tTimer = tTimer + 1
Sleep 1
Loop
....
pdfjob.cClose
Set pdfjob = Nothing
Any idea what can cause this error?