Disconnect Method

Closes the existing printer connection.

C#

public bool Disconnect();

Returns

A Boolean true indicates that the printer connection was closed, or false indicates that the method was called without an open connection.

Exceptions

PrinterException