John Deretich wrote:
Hi Everyone,

I am having a problem printing my report
within the script that's creating the report.
[snip]

what happens if you replace this:


   $Word->ActiveDocument->PrintOut({
     Background => 0,
     Append     => 0,
     Range      => wdPrintAllDocument,
     Item       => wdPrintDocumentContent,
     Copies     => 1,
     PageType   => wdPrintAllPages,
});

with this:

$Word->ActiveDocument->PrintOut() || die("Unable to print document ", Win32::OLE->LastError());

??


-- mike higgins


^ ^
<-|->
(.)__ the world is a big box of paints.
__ __ and others, the canvas we're dealt.
| | - XTC
_/ \_

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to