
**Inheritance:**
java.lang.Object
```
public class PrinterSettings
```

Specifies information about how a document is printed, including the printer that prints it.
## Constructors

| Constructor | Description |
| --- | --- |
| [PrinterSettings()](#PrinterSettings--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getCollate()](#getCollate--) | Gets a value indicating whether the printed document is collated. |
| [getCopies()](#getCopies--) | Gets the number of copies of the document to print. |
| [getFromPage()](#getFromPage--) | Gets the page number of the first page to print. |
| [getPrintFileName()](#getPrintFileName--) | Gets the file name, when printing to a file. |
| [getPrinterName()](#getPrinterName--) | Gets the name of the printer to use. |
| [getSupportsColor()](#getSupportsColor--) | Gets a value indicating whether this printer supports color printing. |
| [getToPage()](#getToPage--) | Gets the number of the last page to print. |
| [isDefaultPrinter()](#isDefaultPrinter--) | Gets a value indicating whether the PrinterName property designates the default printer, except when the user explicitly sets PrinterName. |
| [setCollate(boolean value)](#setCollate-boolean-) | Sets a value indicating whether the printed document is collated. |
| [setCopies(short value)](#setCopies-short-) | Sets the number of copies of the document to print. |
| [setFromPage(int value)](#setFromPage-int-) | Sets the page number of the first page to print. |
| [setPrintFileName(String value)](#setPrintFileName-java.lang.String-) | Sets the file name, when printing to a file. |
| [setPrinterName(String value)](#setPrinterName-java.lang.String-) | Sets the name of the printer to use. |
| [setToPage(int value)](#setToPage-int-) | Sets the number of the last page to print. |
| [toString()](#toString--) | Provides information about the PrinterSettings in string form. |
### PrinterSettings() {#PrinterSettings--}
```
public PrinterSettings()
```


### getCollate() {#getCollate--}
```
public boolean getCollate()
```


Gets a value indicating whether the printed document is collated.

**Returns:**
boolean - a value indicating whether the printed document is collated.
### getCopies() {#getCopies--}
```
public short getCopies()
```


Gets the number of copies of the document to print.

**Returns:**
short - the number of copies of the document to print.
### getFromPage() {#getFromPage--}
```
public int getFromPage()
```


Gets the page number of the first page to print.

**Returns:**
int - the page number of the first page to print.
### getPrintFileName() {#getPrintFileName--}
```
public String getPrintFileName()
```


Gets the file name, when printing to a file.

**Returns:**
java.lang.String - the file name, when printing to a file.
### getPrinterName() {#getPrinterName--}
```
public String getPrinterName()
```


Gets the name of the printer to use.

**Returns:**
java.lang.String - the name of the printer to use.
### getSupportsColor() {#getSupportsColor--}
```
public boolean getSupportsColor()
```


Gets a value indicating whether this printer supports color printing.

**Returns:**
boolean - a value indicating whether this printer supports color printing.
### getToPage() {#getToPage--}
```
public int getToPage()
```


Gets the number of the last page to print.

**Returns:**
int - the number of the last page to print.
### isDefaultPrinter() {#isDefaultPrinter--}
```
public boolean isDefaultPrinter()
```


Gets a value indicating whether the PrinterName property designates the default printer, except when the user explicitly sets PrinterName.

**Returns:**
boolean - a value indicating whether the PrinterName property designates the default printer.
### setCollate(boolean value) {#setCollate-boolean-}
```
public void setCollate(boolean value)
```


Sets a value indicating whether the printed document is collated.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether the printed document is collated. |

### setCopies(short value) {#setCopies-short-}
```
public void setCopies(short value)
```


Sets the number of copies of the document to print.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short | the number of copies of the document to print. |

### setFromPage(int value) {#setFromPage-int-}
```
public void setFromPage(int value)
```


Sets the page number of the first page to print.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the page number of the first page to print. |

### setPrintFileName(String value) {#setPrintFileName-java.lang.String-}
```
public void setPrintFileName(String value)
```


Sets the file name, when printing to a file.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | the file name, when printing to a file. |

### setPrinterName(String value) {#setPrinterName-java.lang.String-}
```
public void setPrinterName(String value)
```


Sets the name of the printer to use.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | the name of the printer to use. |

### setToPage(int value) {#setToPage-int-}
```
public void setToPage(int value)
```


Sets the number of the last page to print.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the number of the last page to print. |

### toString() {#toString--}
```
public String toString()
```


Provides information about the PrinterSettings in string form.

**Returns:**
java.lang.String - information about the PrinterSettings in string form.
