#

| Chapter 19 java.awt Reference |

# PrintGraphics

## Name

PrintGraphics

##

## Description

`PrintGraphics` is an interface for classes that provide a printing graphics context.

## Interface Definition

    public abstract interface java.awt.PrintGraphics {

      // Interface Methods
      public abstract PrintJob getPrintJob();
    }

## Interface Methods

### getPrintJob

#### public abstract PrintJob getPrintJob()

Returns

  The `PrintJob` from which the `PrintGraphics` object originated.

## See Also

`PrintJob`

PopupMenu |  | PrintJob