DuplexKind

Inheritance: java.lang.Object

public class DuplexKind

Specifies the printer’s duplex setting.

Constructors

ConstructorDescription
DuplexKind()

Fields

FieldDescription
DefaultThe printer’s default duplex setting.
HorizontalDouble-sided, horizontal printing.
SimplexSingle-sided printing.
VerticalDouble-sided, vertical printing.

Methods

MethodDescription
toString(int pdfPrintRange)Duplex kind name
getNames()Array of Duplex kind names

DuplexKind()

public DuplexKind()

Default

public static final int Default

The printer’s default duplex setting.

Horizontal

public static final int Horizontal

Double-sided, horizontal printing.

Simplex

public static final int Simplex

Single-sided printing.

Vertical

public static final int Vertical

Double-sided, vertical printing.

toString(int pdfPrintRange)

public static String toString(int pdfPrintRange)

Duplex kind name

Parameters:

ParameterTypeDescription
pdfPrintRangeintPaperKind element

Returns: java.lang.String - Paper format name

getNames()

public static String[] getNames()

Array of Duplex kind names

Returns: java.lang.String[] - String[] object