On Tuesday, October 21, 2003, at 11:44 AM, John W. Holmes wrote:

[-^-!-%- wrote:

Is is possible to launch the windows print dialog box, with PHP?
Perhaps with a specific HEADER() code? I know it's possible to force
download with HEADER(), but can you do the same for printing?
I'm looking for something that does the same as the windows.print()
function in Javascript.
Please advise.

Here, take hold of my hand, and repeat after me. PHP is server side, PHP is server side, PHP is server side. Printing is client-side, FYI. So, no.

John, I'm *sure* the OP is aware that PHP is server side -- in fact, he/she asks if PHP can send any specific headers to the browser (like the headers that tell a client-side browser to open the save as dialogue) which will open the print dialogue.


*I* know it can't be done, *you* know it can't be done, and we both know there's quite a big difference between "save as" and "print" -- but he/she does not.

A simple "no" would have been fine *in this case*.


Justin French


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to