Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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

by davies (Vicar)
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 lurking in the Monastery: (5)
As of 2016-02-09 10:11 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (310 votes), past polls