bganesan
05-13-2009, 10:27 AM
<HTML>
<script Language="javascript">
function printfile()
{
window.frames['objAdobePrint'].focus();
window.frames['objAdobePrint'].print();
}
</script>
<BODY>
<iframe src="Test.pdf" id="objAdobePrint" name="objAdobePrint" height="250" width="100%" frameborder=0></iframe><br>
<input type="button" value="Print" onclick="javascript: printfile();">
</BODY>
</HTML>
the above code working in Firefox browser, but its not working in safari browser.
if i try to print this pdf file in safari browser i am getting empty page print out.
if i open any pdf file in firefox browser, i can print that pdf file from toolbar File->Print option,
but its not working for safari browser.
any one can help me for above issue?
<script Language="javascript">
function printfile()
{
window.frames['objAdobePrint'].focus();
window.frames['objAdobePrint'].print();
}
</script>
<BODY>
<iframe src="Test.pdf" id="objAdobePrint" name="objAdobePrint" height="250" width="100%" frameborder=0></iframe><br>
<input type="button" value="Print" onclick="javascript: printfile();">
</BODY>
</HTML>
the above code working in Firefox browser, but its not working in safari browser.
if i try to print this pdf file in safari browser i am getting empty page print out.
if i open any pdf file in firefox browser, i can print that pdf file from toolbar File->Print option,
but its not working for safari browser.
any one can help me for above issue?