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

450
Vistas
How to pass page number variables to windows.print() js

I would like to inject a function that would basically open up another tab with that same pdf. With the first tab I would like it to window.print() all the odd pages. On the second tab I would like it to print all the even pages, but in reverse.

e.g.

First tab will print only these pages (odd): 1,3,5,7,9,11,13,15,17,19,21

Second tab will print the even pages in reverse: 22,20,18,16,14,12,10,8,6,4,2

Just as a heads up, this is so I can print double sided pages, on a printer that only prints one side. Where after the first pdf tab is printed, I physically spin the papers 180°, and feed the papers back in the printer, and then proceed to press print on the second tab.

Thankyou in advance!

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