NTPPrinterGetPrinterCount

 

NTPPrinterGetPrinterCount ( <ReportHandle> ) -> <ErrorCode>

 

 

Description

 

Finds the number of printers available to this computer. These may be local, as well as network printers.

 

 

Declaration for Lotus Script

 

Declare Function NTPPrinterGetPrinterCount Lib "NTP.DLL" ( ByVal ReportHandle As Long ) As Long

 

 

Parameter

 

<ReportHandle> (LONG)

Report handle, returned by calling NTPInit or NTPInitFromDatabase.

 

 

Return value

 

<ErrorCode> (LONG)

>= 0 = Number of printers (0 = no printer)

< 0 = Error