Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Is it possible to print off Excel and Word documents in perl.

by davies (Parson)
on Jul 08, 2014 at 22:16 UTC ( #1092806=note: print w/replies, xml ) Need Help??

in reply to Is it possible to print off Exel and Word documents in perl.

Have a look at Cacharbe's answer to Win32::OLE and Excel and the Web. You will have to print from Excel rather than copying the file to a printer and that printer will have to be installed on the computer running Excel. The classic advice is to record a macro that prints the file and then convert that macro to Perl, but be aware that the recorded macro won't be good VBA and that simply transliterating it won't give you good Perl. If you can't print from Excel, then that's the first thing you need to fix.


John Davies

  • Comment on Re: Is it possible to print off Excel and Word documents in perl.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1092806]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2018-01-21 01:22 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.