Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

294
Vistas
Printing a page on safari with window.print() doesn't work the second time

I am trying to print a page in Safari.

The first time it works fine, but if I click Cancel in the print dialog, and then click my print button again, it will just show a blank page on the print preview dialog.

In my case i am trying to print a PDF, so i am creating an invisible iframe and setting the content of it to be a PDF blob. (based on this library). But the same thing happens when trying to print the top level window.

Code example: https://codesandbox.io/s/throbbing-surf-tnuz6?file=/src/index.js

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda