Releases all resources used by this Printer.
public void Dispose()
Public Overloads Sub Dispose()
The Printer class implements the System.IDisposable interface, it is recommended that you follow the standard .NET dispose pattern when using the Printer class. For more information, refer to the System.IDisposable interface documentation in MSDN.
For an example, refer to Printer.