Hi,
I'm using PDF Converter 2.50d-3 for programmatically converting files to PDF.
I'm enabling the printer in the OnEnabledPre event.
What happens is this:
From program A I create an instance of the PDF ActiveX and set the needed properties on the PDF converter.
Next I call program B, which prints several times to the PDF converter. The first time it triggers the OnEnabledPre event and program A enables the printer.
The printing goes fine in approx. 30 secs. and then I get the error 'Printer not activated, error code -30'. Any printing done until this point are appended to my outputfile as it should, but of course not the last ones.
The OnEnabledPre event is only fired once, so im not able to reenable the printer.
How can I force the printer not deactivating or timing out while printing to it?
Kind regards, Benny