ATTR_DUPLEX
- Updated2023-02-21
- 1 minute(s) read
ATTR_DUPLEX
Type: | Print attribute |
Description: | This attribute specifies whether the output is single or double-sided. 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. |
Types of Printing: | Text and graphics. |
Data Type: | integer |
Default Value: | VAL_SIMPLEX |
LabWindows/CVI Compatibility: |
LabWindows/CVI 3.0 and later |
Values
VAL_SIMPLEX | Set output to print in simplex (single sided). |
VAL_VERTDUPLEX | Set output to print in vertical duplex (double sided with the top side of each page on the opposite edges). |
VAL_HORIZDUPLEX | Set output to print in horizontal duplex (double sided with the top side of each page on the same edge). |
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. |