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

# documentViewShouldHandlePrint

A Boolean value indicating whether the document view should handle a print operation.

```
var documentViewShouldHandlePrint: Bool { get }
```

## Discussion

If this method returns <doc://com.apple.documentation/documentation/Swift/false>, the application terminates its print operation and sends [`printDocumentView()`](/documentation/WebKit/WebFrameView/printDocumentView()) to the web frame view.

---

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)