Help Center

AfxEnumLocalPrinterPortsfunction

Returns a list with port names of the locally installed printers.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxEnumLocalPrinterPorts () AS DWSTRING

Return value

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

Description

Returns a list with port names of the locally installed printers.

Reference

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