I have to develop an application that will print the document and based on the result whether the printing was a success or a failure should display the status.

Some of the important futures are...