Hi! Thanks for the suggestion, but I still don't get prompted to print, nor does it print on its own -- although I no longer get the errors....
I'm running this on Win95, with IE 5.5 -- does that require different constants? Thanks, Ricky > -----Original Message----- > From: Sisyphus [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, October 10, 2001 4:55 AM > To: [EMAIL PROTECTED] > Subject: Re: Question regarding printing from IE via OLE (followup to > previous question?) > > > ----- Original Message ----- > From: "Morse, Richard E" <[EMAIL PROTECTED]> > > > >$ieApp = Win32::OLE->new( > > > 'InternetExplorer.Application', > > > sub {$_[0]->Quit;} ); > > >$ieApp->Navigate('http://www.activestate.com/'); > sleep 10; # eliminates "Trying to revoke...." error, for me. > > >$ieApp->ExecWB(6, 2); > > > > That change may be all that is required. I don't have a printer attached to > this machine, but when I run the script with the above change I get a popup > asking me whether I want to fax or print - and telling me to install the > printer if I wish to print. > > Hope there's something helpful in that. > > Cheers, > Rob > > _______________________________________________ > Perl-Win32-Users mailing list > [EMAIL PROTECTED] > http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users