3
I am using the following command to print a PDF that is inside iframe, and the PDF is even local, on the same server:
window.frames["imprimirpdf"].focus();
window.frames["imprimirpdf"].print();
When I have printed by Google Chrome works correctly, when sent by Firefox displays the following message: Error: Permission denied to access Property 'print'
Does anyone know how to fix this or how to make it work in Firefox?
and there is no simple way to solve?
– Caio Gomes
until the moment in the project I needed to use this, I can not use frames(for this), so none of the Brazilian banks use, always opens a "new tab" (vulgo popup) for you to print the ticket for payment.
– Allan Freitas