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

146
Views
Window.print in angular not working if some image or script in page fails to load properly

We have angular microapp sitting inside big parent app.

I am using window.print() to print the page.

But sometimes there are some images/scripts from parent app related to analytics(Nothing related to page operation and doesn't affect page operation any way) which doesn't load properly. We have no control over the parent app code and we cannot modify/correct it. At this point I am able to use all the function of my microapp except window.print() It doesn't work.

It only works when I give window.stop() in the console.

I didn't found any reference in my research which points out that window.print() will not work(even the popup window doesn't come up) and waits until the faulty image/script is timed out after like 5-6 minutes. Please help.

  public PrintForm(): void{
window.print();
 }
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!