I said it is impossible, but boss had different idea first but failed with his way.
Now they still want to keep trying... I have 1 week.
This it is:
When a IE print dialog pop-up, is it possible to let web application know that if the use click the 'print' button or 'cancel' button?
I dont need other solution to this, I just need the answer for this question.
My sequence:
1. There is a PDF In a HTML, using this
<object id="objPdf" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" style="height:0; width:0">
<param name="src" value="printAll.do"/>
</object>
2. on click a button call this:
var ac = document.applets["objPdf"];
if (ac!=null&&ac!=undefined){
ac.Print();
}
3. Then IE print dialog comes, use can print or cancel it. I need to know what they chose.
Thanks a lot in advance.
Now they still want to keep trying... I have 1 week.
This it is:
When a IE print dialog pop-up, is it possible to let web application know that if the use click the 'print' button or 'cancel' button?
I dont need other solution to this, I just need the answer for this question.
My sequence:
1. There is a PDF In a HTML, using this
<object id="objPdf" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" style="height:0; width:0">
<param name="src" value="printAll.do"/>
</object>
2. on click a button call this:
var ac = document.applets["objPdf"];
if (ac!=null&&ac!=undefined){
ac.Print();
}
3. Then IE print dialog comes, use can print or cancel it. I need to know what they chose.
Thanks a lot in advance.