Hi everybody,
I'm manipulating and printing MS-Word-Documents via OLE-connection.
1. opening a document
2. replacing bookmarks
3. printing and closing the document
4. open the next document
...
The print statement is
iole_word.activeDocument.printout (false)
The parameter "false" is for not printing in background. So, the PB-Code should wait until printing is done. But this doesn't work in some cases. As I found out, it depends on the choosen printer if it works or not.
In case that it is not working PB-code doesn't wait and goes on working on the next document, even if the current one is not yet printed. If using a PDF-printer I have to give a filename for saving. I get one SaveAs-Dialog after another. No chance to enter a filename until all documents are printed.
Does somebody has an idea why the parameter "false" in the printout-statement is not working in all cases?
Could that be a windows issue?