Hi, i'm a new member. I'm recently trying to make an application to print with CUPS. How do I check whether a job is done and printed successfully? You see, I'm printing from a different thread while the main thread should check whether the printing was successfuly done (to exit the printing state loop) and continuing the rest of the code. Thanks.