ComponentOne VSView 8.0
Duplex Property

Returns or sets duplex or double-sided printing.

Syntax

[form!]VSPrinter.Duplex[ = DuplexSettings ]

Remarks

This property determines whether pages should be printed on a single side or on both sides. Note that many printers do not support this feature.

The settings for the Duplex property are described below:

Constant

Value

Description

dupSimplex

1

Single-sided printing.

dupVertical

2

Double-sided printing using a horizontal page turn.

dupHorizontal

3

Double-sided printing using a vertical page turn.

With horizontal duplex printing, the top of both sides of the page are at the same end of the sheet. With vertical duplex printing, the bottom of one page is at the same end of the sheet as the top of the next page.

This property relies on the printer driver, and may or may not be available on a particular printer. After setting this property, read it back to make sure the driver made the change, or check the Error property. If it is set to vperDeviceIncapable (7), then the printer does not support the selected setting and you should take appropriate action.

Data Type

DuplexSettings (Enumeration)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback