Help Center

AfxEnumPrinterNamesfunction

Returns a list with the available printers, print servers, domains, or print providers.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxEnumPrinterNames () AS DWSTRING

Return value

The printer names. Names are separated with a carriage return and a line feed characters.

Description

Returns a list with the available printers, print servers, domains, or print providers.

Reference

  • Include file AfxPrinter.inc
  • Defined in AfxNova/AfxPrinter.inc:201
  • Documented in Printing/Printer Functions.md
  • Topic: Printer Functions