laurin1 Posted October 11, 2007 Posted October 11, 2007 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
BrettF Posted October 12, 2007 Posted October 12, 2007 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 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now