Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2016-04-30 02:55 GMT
Find Nodes?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW

    Results (441 votes). Check out past polls.