Bonjour,
exiterai-t-il un ActiveX permettant d'impriemr en PDF à partir d'une frame, ouverte dans IE?
Merci.
Version imprimable
Bonjour,
exiterai-t-il un ActiveX permettant d'impriemr en PDF à partir d'une frame, ouverte dans IE?
Merci.
pas à ma connaissance ...
mais j'utilise ceci qui doit pouvoir s'adapter à des frames :
le popup:Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 <head> <script type='text/javascript'> function imprimePDF() { var popPDF=window.open('popTemp.htm','Print_PDF','') var PDFObj=popPDF.document.createElement('object'); //getElementsByTagName('OBJECT')[0]; PDFObj.data='test.pdf' popPDF.document.body.appendChild(PDFObj) PDFObj.print(); } </script> </head> <body> <input type="button" onclick="imprimePDF()" value="imprimer" /> </body>
Code:
1
2
3
4
5
6
7
8
9 <html> <head> </head> <body> <object id="PDF" width="100" height="100" data='' name="whatever"> </object> </body>
merci pour le bout de code, je sais pas si j'ai bien saisie l'interet mais celui ci doit m'ouvrir un popup avec une image (croix rouge dedans) mais je ne voit aucun appel vers Acrobat ??
ha bon je pensais pourtant qu'un pdf était un document acrobat ...
bien entendu si ton fichier pdf n'existe pas tu auras la croix rouge comme tu dis :roll:Code:PDFObj.data='test.pdf'
autant pour moi :oops: