<OBJECT id = "Pdf2" name="Pdf2" CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" WIDTH="364" HEIGHT="290"> <PARAM NAME='SRC' VALUE="file.pdf"> </OBJECT> <a onClick="document.Pdf2.printWithDialog()">Print file</a>