Difference between revisions of "APRINTERS()"

From Lianjapedia
Jump to: navigation, search
 
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[GETPRINTER()]], [[SET CONSOLE]]
+
[[GETPRINTER()]]
  
 
==Description==
 
==Description==

Latest revision as of 13:07, 4 January 2013

Purpose

Function to return number of available printers and load an array with printer names

Syntax

APRINTERS(<array>)

See Also

GETPRINTER()

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.

Example

aprinters(printerlist)
? printerlist