Hi I am embedding a webpage using iframe. The webpage consists of a form, which upon being submitted opens a pdf and print dialog for the screen. How can I use javascript to tell if the pdf is being printed?
For example, heres essentially what I want to do in pseudo code
if(document.getElementById('iframe').webpageisPrinting){
//prevent webpage from printing
//do other stuff
}