---
title: isForPrinting
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsworkspace/openconfiguration/isforprinting
---

# isForPrinting

A Boolean value indicating whether you want to print the contents of documents and URLs instead of opening them.

## Declaration

```swift
var isForPrinting: Bool { get set }
```

## Discussion

Discussion The default value of this property is false, which causes the app to open documents and URLs. Set the value to true if you want the app to print the items instead.

## See Also

### Handling URLs

- [requiresUniversalLinks](appkit/nsworkspace/openconfiguration/requiresuniversallinks.md)
