Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

448
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!