LinePrinter.Cancel Method

Cancels the remainder of the print operations. This method should also be called by applications if a recoverable error occurs but the user opts to cancel the remaining print operations. A status message is sent to the application to verify that printing was cancelled.

Syntax

[Visual Basic]
Public Sub Cancel()
[C#]
public void Cancel();

Exceptions

LinePrinterException Class

More Information

LinePrinter Class