# PaperSource Class

> Defines a set of paper trays in a printer that can be used to select the paper source when printing.

- Product: Adobe PDF Library 18
- Language: Java
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/PaperSource
- Version index: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/llms.txt

```java
class PaperSource
```

**Namespace:** `com::datalogics::PDFL`

## Description

Defines a set of paper trays in a printer that can be used to select the paper source when printing.

## Fields

### AUTO

```java
static final int com.datalogics.PDFL.PaperSource.AUTO
```

*static*

Auto select based on paper size

### CASSETTE

```java
static final int com.datalogics.PDFL.PaperSource.CASSETTE
```

*static*

Use paper from the cassette tray

### ENVELOPE

```java
static final int com.datalogics.PDFL.PaperSource.ENVELOPE
```

*static*

Use paper from the envelope tray

### ENV_MAUAL

```java
static final int com.datalogics.PDFL.PaperSource.ENV_MAUAL
```

*static*

Use paper from the envelope manual feed

### FIRST

```java
static final int com.datalogics.PDFL.PaperSource.FIRST
```

*static*

Use paper from the upper tray

### FORM_SOURCE

```java
static final int com.datalogics.PDFL.PaperSource.FORM_SOURCE
```

*static*

Use paper from the forms tray

### LARGE_CAPACITY

```java
static final int com.datalogics.PDFL.PaperSource.LARGE_CAPACITY
```

*static*

Use paper from the large capacity tray

### LARGE_FMT

```java
static final int com.datalogics.PDFL.PaperSource.LARGE_FMT
```

*static*

Use paper from the large forms tray

### LAST

```java
static final int com.datalogics.PDFL.PaperSource.LAST
```

*static*

Use paper from the forms tray

### LOWER

```java
static final int com.datalogics.PDFL.PaperSource.LOWER
```

*static*

Use paper from the lower tray

### MANUAL

```java
static final int com.datalogics.PDFL.PaperSource.MANUAL
```

*static*

Use paper from the manual feed

### MIDDLE

```java
static final int com.datalogics.PDFL.PaperSource.MIDDLE
```

*static*

Use paper from the middle tray

### ONLY_ONE

```java
static final int com.datalogics.PDFL.PaperSource.ONLY_ONE
```

*static*

Use paper from the upper tray

### SMALL_FMT

```java
static final int com.datalogics.PDFL.PaperSource.SMALL_FMT
```

*static*

Use paper from the small forms tray

### TRACTOR

```java
static final int com.datalogics.PDFL.PaperSource.TRACTOR
```

*static*

Use paper from the tractor feed

### UPPER

```java
static final int com.datalogics.PDFL.PaperSource.UPPER
```

*static*

Use paper from the upper tray

### USER

```java
static final int com.datalogics.PDFL.PaperSource.USER
```

*static*

Use paper from device specific trays by setting PaperSource to a value larger than User

### USE_SYSTEM_DEFAULT

```java
static final int com.datalogics.PDFL.PaperSource.USE_SYSTEM_DEFAULT
```

*static*

Use the default paper source

## Methods

### delete

```java
synchronized void com.datalogics.PDFL.PaperSource.delete(Boolean disposing)
```

*protected*

**Parameters**

- `disposing` (`Boolean`)

**Returns:** `synchronized void`

### delete

```java
synchronized void com.datalogics.PDFL.PaperSource.delete()
```

**Returns:** `synchronized void`

### finalize

```java
void com.datalogics.PDFL.PaperSource.finalize()
```

*protected*

**Returns:** `void`
