Print embed PDF in Firefox


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 :

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.
Who is Participating?
Michel PlungjanConnect With a Mentor IT ExpertCommented:
Perhaps put the print button on the PDF instead.
A PDF can print itself
maisonlapriseAuthor Commented:
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.

All Courses

From novice to tech pro — start learning today.