# CdlPRDPConstants enumeration
{: .no_toc }

Selects one-sided or two-sided (duplex) printing.

The enumeration is declared inside the [**CommonDialog**](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/CommonDialog.md) class. Its members are used without a qualifier, or with the name of the enumeration. Each member has the value of the VB6 [**PrinterObjectConstants_Duplex**](/twinBASIC-docs/tB/Packages/VBRUN/Constants/PrinterObjectConstants_Duplex.md) constant of the same name without the **Cdl** prefix. The class passes the value to the printer unchanged.

The [**Duplex**](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/CommonDialog.md#duplex) property accepts only these three members; any other value raises run-time error 380.

| Member | Value | Description |
|:-------|:------|:------------|
| **CdlPRDPSimplex**{: #CdlPRDPSimplex } | `1` | Prints on one side of the paper. This is the default of the property. |
| **CdlPRDPHorizontal**{: #CdlPRDPHorizontal } | `2` | Prints on both sides, with the pages bound on the long edge. The value is that of the Windows constant `DMDUP_VERTICAL`. |
| **CdlPRDPVertical**{: #CdlPRDPVertical } | `3` | Prints on both sides, with the pages bound on the short edge. The value is that of the Windows constant `DMDUP_HORIZONTAL`. |

## Used by

- [**CommonDialog**](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/CommonDialog.md) class: [**Duplex**](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/CommonDialog.md#duplex)

## See Also

- [Enumerations](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/index.md) -- all the enumerations of the package
- [CommonDialog](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/CommonDialog.md) class
- [CdlPRORConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPRORConstants.md) enumeration
