in reply to Win32::OLE - Wait until print job is queued?
I would suspect that this makes the printing/spooling in the foreground, hence control will be returned to your app as soon as it's ready.
or possibly$Word->ActiveDocument->PrintOut({Background => 0});
$Word->ActiveDocument->PrintOut(0);
HTH
---
It's unfair to be an expert.
|
|---|