Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Win32::OLE printing

by ixo111 (Acolyte)
on Mar 21, 2004 at 22:23 UTC ( [id://338519]=note: print w/replies, xml ) Need Help??


in reply to Re: Win32::OLE printing
in thread Win32::OLE printing

jah :) .. Word has a direct PrintOut method - IE doesn't allow for such directly ( or so says MSDN ) so you have to use the ExecWB function ..

after tinkering around a bit i was able to Almost get it to work using the following code :

$IE->ExecWB( 23, 1 ); sleep ( 1 ); $IE->ExecWB( 6, 1, 1 );


thanks to you both for your replies! .. i'll try the ( 6, 2 ) and see if that bears any fruit :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://338519]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-06-23 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.