docs

Home All functions Categories

vuPrinterName(Nmbr)

vuPrinterName(LONG), CSTRING

Description

Returns the name of the printer defined by the specified index.

Parameters

Parameter Data Type Description
Nmbr LONG The index of the printer to query (use vuPrinterCount() to determine the valid range).

Returns

A CSTRING containing the name of the indexed printer.

Example

FREE(PrinterNames)

vPCount = vuPrinterCount()
LOOP vCounter = 1 TO vPCount
  P:Name = vuPrinterName(vCounter)
  ADD(PrinterNames)
END

Notes

Home All functions Categories