LinePrinter.Close Method

Closes a connection to the selected printer.

Syntax

[Visual Basic]
Public Function Close() As Integer
[C#]
public int Close();

Return Values

Positive return indicates that the printer connection was closed.

Negative value indicates that Close() was aborted before it could complete.

Exceptions

LinePrinterException

More Information

LinePrinter Class