Internet explorer 使用adobe activex插件打印文件

Internet explorer 使用adobe activex插件打印文件,internet-explorer,pdf,printing,adobe,activex,Internet Explorer,Pdf,Printing,Adobe,Activex,我需要能够打印pdf文件(可以从远程URL下载)在IE使用abobe插件。在此之前,我使用java小程序,但现在不可能了。我知道我可以使用javascript访问一些adobe activex对象。也许有人有这样的例子?我在以下地方找到了这段代码: timerID=setTimeout(“exPDF.print();”,1000); 对您来说,重要的部分是您可以调用print()方法 <html> <script language="javascript"> time

我需要能够打印pdf文件(可以从远程URL下载)在IE使用abobe插件。在此之前,我使用java小程序,但现在不可能了。我知道我可以使用javascript访问一些adobe activex对象。也许有人有这样的例子?

我在以下地方找到了这段代码:


timerID=setTimeout(“exPDF.print();”,1000);
对您来说,重要的部分是您可以调用
print()方法

<html>
<script language="javascript">
timerID = setTimeout("exPDF.print();", 1000);
</script>
<body>
<object id="exPDF" type="application/pdf" data="111.pdf" width="100%" height="500"/>
</body>
</html>