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

Options used to print a document.
## Constructors

| Constructor | Description |
| --- | --- |
| [PrintOptions()](#PrintOptions--) | Initializes a new instance of the `PrintOptions` class. |
## Methods

| Method | Description |
| --- | --- |
| [getDocumentName()](#getDocumentName--) | Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document. |
| [getPageSplittingAlgorithm()](#getPageSplittingAlgorithm--) | Gets or sets algorithm used for page splitting. |
| [getPrinterSettings()](#getPrinterSettings--) | Gets or sets the printer settings. |
| [getResolution()](#getResolution--) | Gets or sets the resolution for the generated images, in dots per inch. |
| [setDocumentName(String value)](#setDocumentName-java.lang.String-) | Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document. |
| [setPageSplittingAlgorithm(PageSplittingAlgorithm value)](#setPageSplittingAlgorithm-com.aspose.note.PageSplittingAlgorithm-) | Gets or sets algorithm used for page splitting. |
| [setPrinterSettings(AttributeSet value)](#setPrinterSettings-javax.print.attribute.AttributeSet-) | Gets or sets the printer settings. |
| [setResolution(float value)](#setResolution-float-) | Gets or sets the resolution for the generated images, in dots per inch. |
### PrintOptions() {#PrintOptions--}
```
public PrintOptions()
```


Initializes a new instance of the `PrintOptions` class.

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


Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.

**Returns:**
java.lang.String
### getPageSplittingAlgorithm() {#getPageSplittingAlgorithm--}
```
public PageSplittingAlgorithm getPageSplittingAlgorithm()
```


Gets or sets algorithm used for page splitting.

Value: The `PageSplittingAlgorithm`.

**Returns:**
[PageSplittingAlgorithm](../../com.aspose.note/pagesplittingalgorithm)
### getPrinterSettings() {#getPrinterSettings--}
```
public AttributeSet getPrinterSettings()
```


Gets or sets the printer settings.

**Returns:**
javax.print.attribute.AttributeSet
### getResolution() {#getResolution--}
```
public float getResolution()
```


Gets or sets the resolution for the generated images, in dots per inch.

--------------------

The default value is 96.

**Returns:**
float
### setDocumentName(String value) {#setDocumentName-java.lang.String-}
```
public void setDocumentName(String value)
```


Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setPageSplittingAlgorithm(PageSplittingAlgorithm value) {#setPageSplittingAlgorithm-com.aspose.note.PageSplittingAlgorithm-}
```
public void setPageSplittingAlgorithm(PageSplittingAlgorithm value)
```


Gets or sets algorithm used for page splitting.

Value: The `PageSplittingAlgorithm`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [PageSplittingAlgorithm](../../com.aspose.note/pagesplittingalgorithm) |  |

### setPrinterSettings(AttributeSet value) {#setPrinterSettings-javax.print.attribute.AttributeSet-}
```
public void setPrinterSettings(AttributeSet value)
```


Gets or sets the printer settings.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | javax.print.attribute.AttributeSet |  |

### setResolution(float value) {#setResolution-float-}
```
public void setResolution(float value)
```


Gets or sets the resolution for the generated images, in dots per inch.

--------------------

The default value is 96.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float |  |

