DuplexKind
Contents
[
Hide
]Inheritance: java.lang.Object
public class DuplexKind
Specifies the printer’s duplex setting.
Constructors
Constructor | Description |
---|---|
DuplexKind() |
Fields
Field | Description |
---|---|
Default | The printer’s default duplex setting. |
Horizontal | Double-sided, horizontal printing. |
Simplex | Single-sided printing. |
Vertical | Double-sided, vertical printing. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
pdfPrintRange | int | PaperKind element |
Returns: java.lang.String - Paper format name
getNames()
public static String[] getNames()
Array of Duplex kind names
Returns: java.lang.String[] - String[] object