NTPDesignerGetPrinterCount ( ) -> <ErrorCode>
Description
Finds the number of printers available to this computer. These may be local, as well as network printers. This function provides the same results as NTPPrinterGetPrinterCount, with the only difference, that no report handle is needed for this call. So it is not necessary to start a report in order to read out the number of printers using this function.
Declaration for Lotus Script
Declare Function NTPDesignerGetPrinterCount Lib "NTP.DLL" ( ) As Long
Parameter
none
Return value
<ErrorCode> (LONG)
>= 0 = Number of printers (0 = no printer)
< 0 = Error