---
title: NSPrintPanel
framework: appkit
role: symbol
role_heading: Class
path: appkit/nsprintpanel
---

# NSPrintPanel

The Print panel that queries the user for information about a print job.

## Declaration

```swift
@MainActor class NSPrintPanel
```

## Overview

Overview A Print panel may let the user select the range of pages to print and the number of copies before executing the Print command. Print panels can display a simplified interface when printing certain types of data. For example, the panel can display a list of print-setting presets, which lets the user enable print settings in groups as opposed to individually. Assigning an appropriate string to the jobStyleHint property activates the simplified interface and identifies which presets to display. For design guidance, see Human Interface Guidelines.

## Topics

### Customizing the Panel

- [jobStyleHint](appkit/nsprintpanel/jobstylehint-swift.property.md)
- [NSPrintPanel.JobStyleHint](appkit/nsprintpanel/jobstylehint-swift.struct.md)
- [options](appkit/nsprintpanel/options-swift.property.md)
- [NSPrintPanel.Options](appkit/nsprintpanel/options-swift.struct.md)
- [defaultButtonTitle()](appkit/nsprintpanel/defaultbuttontitle().md)
- [setDefaultButtonTitle(_:)](appkit/nsprintpanel/setdefaultbuttontitle(_:).md)
- [helpAnchor](appkit/nsprintpanel/helpanchor.md)

### Managing Accessory Views

- [addAccessoryController(_:)](appkit/nsprintpanel/addaccessorycontroller(_:).md)
- [removeAccessoryController(_:)](appkit/nsprintpanel/removeaccessorycontroller(_:).md)
- [NSPrintPanelAccessorizing](appkit/nsprintpanelaccessorizing.md)
- [accessoryControllers](appkit/nsprintpanel/accessorycontrollers.md)

### Running the Panel

- [beginSheet(using:on:completionHandler:)](appkit/nsprintpanel/beginsheet(using:on:completionhandler:).md)
- [beginSheet(with:modalFor:delegate:didEnd:contextInfo:)](appkit/nsprintpanel/beginsheet(with:modalfor:delegate:didend:contextinfo:).md)
- [runModal()](appkit/nsprintpanel/runmodal().md)
- [runModal(with:)](appkit/nsprintpanel/runmodal(with:).md)

### Accessing the Printing Information

- [printInfo](appkit/nsprintpanel/printinfo.md)
- [NSPrintInfo](appkit/nsprintinfo.md)
- [NSPrintPanel.Result](appkit/nsprintpanel/result.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### Print Panels

- [NSPageLayout](appkit/nspagelayout.md)
