Win32Prn() > System resources xHarbour Developers Network  

oWin32Prn:destroy()

Releases system resources of a GDI printer.

Syntax

:destroy() --> lSuccess

Description

Method :destroy() releases the device context for the selected printer and disconnects from the printer driver. The method must be called when print output is complete. A Win32Prn object can call the :create() method again after :destroy().

The method returns a logical value indicating success of the operation.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe