MTblPrintGetPrinterNames
nCount = MTblPrintGetPrinterNames( saNames[*] )
Gets the names of the currently installed printers.
Parameters
saNames[*]
Array of String: Contains the printer names when the function returns successfully
Return
Number: Number of installed printers or negative if an error occurs
Example
In this example a list box is filled with the names of the currently installed printers:
Set nCount = MTblGetPrinterNames( saNames )
Set n = 0
While n < nCount
Call SalListAdd( hWndList, saNames[n] )
Set n = n + 1
See also
Printing
Created with the Personal Edition of HelpNDoc: Free help authoring environment