vuGetDefaultPrinter()
vuGetDefaultPrinter(), CSTRING
Description
Returns the name of the PCs default printer. Note that this may not match the printer currently selected by Clarion or the Report Writer.
Parameters
| Parameter |
Data Type |
Description |
| None |
|
This function takes no parameters |
Returns
A CSTRING containing the name of the default printer.
Example
MESSAGE('The default printer is ' & vuGetDefaultPrinter())
Notes
- Requires Windows 2000 or higher.
- The returned printer is the system default, not necessarily the one chosen for Clarion reports.