Xbasic

UI_PRINTER_DEFAULT_GET Function

Syntax

Printer_Name as C = UI_PRINTER_DEFAULT_GET()

Description

The UI_PRINTER_DEFAULT_GET() function returns the name of the default Windows printer.

Example

? ui_printer_default_get()
= "\\THUNDER\Compaq Laser Printer LNM40 (PCL) on CompaqLNM40"

Limitations

Desktop applications only.

See Also