NTPPrinterSetPrinterToDefault

 

NTPPrinterSetPrinterToDefault ( <ReportHandle> ) -> <ErrorCode>

 

 

Description

 

This command resets all printer settings (printer for first and following pages) of a report, meaning the report will use the Windows default printer available to this computer.

 

 

Declaration for Lotus Script

 

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

 

 

Parameter

 

<ReportHandle> (LONG)

Report handle, returned by calling NTPInit or NTPInitFromDatabase.

 

 

Return value

 

<ErrorCode> (LONG)

Number of the error encountered (0 = no error)