<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPrintOperation/printPanel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPrintOperation(py)printPanel"
  },
  "title" : "printPanel"
}
-->

# printPanel

The print panel object to use during the operation.

```
var printPanel: NSPrintPanel { get set }
```

## Parameters

`panel`

The print panel object to use for the operation.

## See Also

[`-  showPanels`](/documentation/AppKit/NSPrintOperation/showPanels)

Returns a Boolean value that indicates whether the print panel is to be displayed.

[`-  accessoryView`](/documentation/AppKit/NSPrintOperation/accessoryView)

Returns the accessory view used by the print operation’s print panel.

[`-  setAccessoryView:`](/documentation/AppKit/NSPrintOperation/setAccessoryView:)

Sets the custom accessory view to be displayed by the print operation’s print panel.

[`-  setShowPanels:`](/documentation/AppKit/NSPrintOperation/setShowPanels:)

Sets whether the print operation should display a print panel.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)