Printing Properties

These properties can also be accessed by querying the document attributes

 

Property

Description

Type

Values

Default Value

PrintFileName

When set, the document is printed to a file as opposed to the printer.

String

 

Null

Copies

Number of copies to print document.

Integer

>= 1

1

Duplex

Activate duplex printing of document.

Integer

0: Printer default.

1: No duplex.

2: Vertical duplex.

3: Horizontal duplex.

0: Printer default.

ScaleToPrinter

Scale contents to fit in printed page.

enum acScaleType

0: acScaleNone.

1: acScaleHorizontal.

2: acScaleVertical.

3: acScaleBoth.

4: acScaleRotatePage

0: acScaleNone

 

Remarks

The ScaleToPrinter property values can be mixed by using the operator OR.

 

Example