Admin Production ni-theme
Current Publication

ATTR_XRESOLUTION

LabWindows/CVI

ATTR_XRESOLUTION

Type: Print attribute
Description: Sets the X resolution of the printer. The resolution is expressed in dots per inch.

If you specify VAL_USE_PRINTER_SETTING, the next call to a User Interface Library printing function uses the system's current setting for the selected printer. After the printing function returns, the value of the attribute is no longer VAL_USE_PRINTER_SETTING. Instead, the library stores the system's setting as the attribute value. If you want to update the attribute value based on the current system setting each time you print, set the attribute to VAL_USE_PRINTER_SETTING before each call to a printing function.

(Note: VAL_USE_PRINTER_SETTING was formerly called VAL_USE_PRINTER_DEFAULT.)
Types of Printing: Text and graphics.
Data Type: integer
Valid Range: 0 or greater, or VAL_USE_PRINTER_SETTING
Default Value: VAL_USE_PRINTER_SETTING
LabWindows/CVI
Compatibility:
LabWindows/CVI 3.0 and later

Values

VAL_USE_PRINTER_SETTING (Windows platforms only). Use the system's current setting for the selected printer. The next printing operation uses the current system setting and stores it as the attribute value. If you want to update the attribute from the current system setting each time you print, set the attribute to VAL_USE_PRINTER_SETTING before each call to a printing function.

(Note: VAL_USE_PRINTER_SETTING was formerly called VAL_USE_PRINTER_DEFAULT).