APrinters()
This function asks Windows about installed printers and stores the results in an array.
Usage |
nPrinterCount = APrinters( ArrayName ) |
Parameter |
Value |
Meaning |
ArrayName |
Name |
Array in which to place printer information. |
nPrinterCount |
Positive Number |
The number of rows in the array, which equals the number of installed printers. |
0 |
No printers are installed. |
Example |
? APrinters(aPrinterList) |
See Also |
Array Manipulation, ANetResources(), GetPrinter(), PrintStatus(), PrtInfo(), Set Printer, Sys(13), Sys(1037) |