Sign in to follow this  
Followers 0
laurin1

Print Multiple Files

2 posts in this topic

I'm not sure where to start, so I'll bring this here. I need to be able to print a bunch of files out from PHP. I've seen and played with PHP that calls AutoIt, but I don't even know if AutoIt can do this sort of thing. I've got a bunch of saved HTML reports that need to be printed out by group when the user selects a certain set of criteria. Any ideas?


Keith Davis

MCSA, ZCE, A+, N+

http://www.laurinkeithdavis.com

Share this post


Link to post
Share on other sites

Maybe something like?

$path = FileOpenDialog ("Print...", "", "HTML Files (*.HTML)", 1 + 2 + 4)
$files = StringSplit ($path, "|")
For $i = 1 to $files[0]
    ShellExecute ($files[$i], "", "PRINT")
Next

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0