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

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.

Regards,

John Davies


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-12-27 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls