maisonlaprise
asked on
Print embed PDF in Firefox
Hi,
What I do :
- Open a pop up with a page that contains an embed tag, the source is a pdf file
- I have a button who calls this javascript function :
document.getElementById('e mbedName') .print();
In IE, it opens the adobe print dialog and everything is perfect. In firefox, the error console tells me that print() is a not a function.
I read somewhere that Mozilla had problems with Adobe and they don't support such calls.
Is there any way around this? I really need to print this from an embed object.
What I do :
- Open a pop up with a page that contains an embed tag, the source is a pdf file
- I have a button who calls this javascript function :
document.getElementById('e
In IE, it opens the adobe print dialog and everything is perfect. In firefox, the error console tells me that print() is a not a function.
I read somewhere that Mozilla had problems with Adobe and they don't support such calls.
Is there any way around this? I really need to print this from an embed object.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The only problem is that my pdf is created from a crystal report so I would have to draw a button on the pdf itself after it has been generated. The free pdf library that we use for pdf, pdfsharp, doesnt do that. We would have to pay for a better library to be able to draw a button I think...
Thanks anyway.