NTPPrinterDefaultPrinterInstalled

 

NTPPrinterDefaultPrinterInstalled ( <ReportHandle> ) -> <DefaultPrinterInstalled>

 

 

Description

 

Checks if a (default) printer is installed on a system. This is especially important if NotesToPaper is run on a server. In this case, it is advisable to check if a printer is installed as the report execution will not work otherwise.

Declaration for Lotus Script

 

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

 

 

Parameter

 

<ReportHandle> (LONG)

Report handle, returned by callingNTPInit or NTPInitFromDatabase.

 

 

Return value

 

<DefaultPrinterInstalled> (LONG)

1 = Printer available

0 = No printer available