APRINTERS()
From Lianjapedia
Contents
Purpose
Function to return number of available printers and load an array with printer names
Syntax
APRINTERS([<array>])
See Also
Description
The APRINTERS() function returns the number of available printers and loads the array <array> with the printer names. The <array> need not be pre-declared and will be overwritten and resized as required if it already exists.
From Lianja v9.8, the <array> can be omitted. In this case, an array reference is returned to the array _APRINTERS.
Example
aprinters(printerlist) ? printerlist