# Using Printer Settings

When you set some hardcopy attributes to VAL_USE_PRINTER_SETTING, the next call to a printing function uses the operating 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, LabWindows/CVI 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.

The following attributes use VAL_USE_PRINTER_SETTING:

- ATTR_DUPLEX
- ATTR_NUMCOPIES
- ATTR_ORIENTATION
- ATTR_XRESOLUTION
- ATTR_YRESOLUTION