Description

The Get_Printer function returns all of the printer devices when the DEVICES message is specified. The print devices are any printer that is connected to the workstation via a printer port or network connection.

Syntax

devices = Get_Printer( "DEVICES" )

Returns

An @fm-delimited array of printer devices. There is a trailing @fm.

See Also

Get_Printer functionSet_Printer function

Example

declare function Get_Printer
devices = Get_Printer( "DEVICES" )
devices[-1,1] = "" ; * strip the trailing @fm