Jump to content

Recommended Posts

Posted

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

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...