Jump to content
Sign in to follow this  

Print Multiple Files

Recommended Posts


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



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")

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.