public static interface

Print.PrintCallback

com.pdftron.pdf.Print.PrintCallback

Class Overview

PrintCallback interface provides a way for users to receive callback when print job is finished. The callback deponds on how print job will be finished which can be either on completion, fail or cancellation.

Summary

Public Methods
abstract void onPrintCancelled()
notify the listeners that the print job was cancelled
abstract void onPrintCompleted(int pagesCount, int copiesCount)
notify the listeners that the print job was successfully completed
abstract void onPrintFailed()
notify the listeners that the print job was failed

Public Methods

public abstract void onPrintCancelled ()

notify the listeners that the print job was cancelled

public abstract void onPrintCompleted (int pagesCount, int copiesCount)

notify the listeners that the print job was successfully completed

Parameters
pagesCount the number of pages that were printed
copiesCount the number of copies that were printed

public abstract void onPrintFailed ()

notify the listeners that the print job was failed