Jump to content
We've recently updated our Privacy Statement, available here ×

How can I interrupt printing?


Recommended Posts

By: Peter Kohlendorfer - kohlendorfer

How can I interrupt printing?

2003-05-27 11:18

The changes file in V4.5 says, that JR now supports the interruption of filling, printing etc. However, I found no additional documentation about it. Can anyone please explain breafly how to handle the interruption of printing.

 

Thanks,

 

Peter

 

 

 

 

By: Teodor Danciu - teodord

RE: How can I interrupt printing?

2003-05-28 00:04

 

Hi,

 

The engine tests for Thread.currentThread().isInterrupted()

at the beginning of each page when filling, exporting

or printing.

 

To be able to interrupt such a proccess, you have to

launch it in a separate thread and on user request

or something, you can interrupt it and the engine will

stop doing what it was doing at that moment.

 

I hope this helps.

Teodor

 

 

 

 

 

By: Peter Kohlendorfer - kohlendorfer

RE: How can I interrupt printing?

2003-06-02 01:59

It works.

 

Thanks for saving my weekend :-)

 

Peter

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...