Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Will I get print progress events if I print with setSeparatePrintThread(false)?

events False print progress
0
Posted

Will I get print progress events if I print with setSeparatePrintThread(false)?

0

Not without your creating a separate thread yourself. If you call the J2PrinterWorks print method from your UI thread and have setSeparatePrintThread(false), then your UI thread is blocked until printing (through “phase 2” in Q2 above) completes. However, when the print progress events fire, they do call “yield” on their thread, so if you have created a separate UI thread of your own, print progress events can get through to your code.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123