Link to home
Start Free TrialLog in
Avatar of maisonlaprise
maisonlapriseFlag for Canada

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('embedName').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.
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maisonlaprise

ASKER

It makes sense.

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.