GetName

This function returns the name for the specified Windows printer number. You may use this command within a loop to get a list of names for the user to pick from. See Printer.Activate for setting a printer.

Group: Printer Extensions


Syntax: sName = Printer.GetName(nIndex)

sName  (String) is the Windows name of the requested printer.

nIndex  (Long) is the Windows printer number.

Example:

Dim sName As String

sName = Printer.GetName(1)

Supported Versions:       RFgen 4.0 and newer.