PSGetPrinterNames()

Syntax

Function PSGetPrinterNames(nPrinterIndex)
TPageScript:GetPrinterNames
(nPrinterIndex)

Returns

A character string with the name of the printer.

Description

Use PSGetPrinterNames() to retrieve the name of any of the available printers. PrinterNumber is the index position of the printer.

Use PSGetPrinterCount() to retrieve the total number of available printers.

Arguments

nPrinterIndex Printer number to get the name of.