AboutAnthony Levensalor Experience I have been programming in Java and Javascript since 1998. I run a web development company that specializes in Ajax front ends with PHP/MySQL back ends. I am a Sun Certified Java 2 Developer, and have done nothing but web applications for the last two years in my business
Past/Present clients Monster.com, Compuware Corporation, Flextronics International, Pragmatech Software, Open Travel Software, The Loss Mitigation Institute, Raw Story Media, Page One News Media.
Expert: Anthony Levensalor Date: 11/22/2007 Subject: how to judge whether or not user has printed
Question I want to print my web page with the javascipt funcion:window.print(); and it popups a printer setting dialog,but how can judge the user has printed or not?
Answer This is not possible currently, for security reasons.
The print dialog is part of your operating system, ans JavaScript is not allowed access to the operating system in ways like this. That kind of access would be a major security breach and open the system up to a whole host of vulnerabilities.