How can I validate Print button in webbased application? (ex if i click Print button how we know wheather the print is coming or not )

NOTE : [This question was asked by venkatrao]