Method XbpPrinter():list() Foundation

Returns a list with the names of all installed printer objects.

XbpPrinter():list() --> aPrinterNames|NIL

This method returns an array with the names of all printer objects installed in the system. When no printers are installed, the return value is NIL.


The :list() method is used to determine the printer objects which are installed in the system. The listed names are the same as those appearing below each of the printer object's symbols in Control Panel. These names are returned as an array of character strings. Each array element contains the name of a printer object as a character string. One of these character strings can be specified when :create() is called in order to create an XbpPrinter object that uses a specific printer object for output.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.