Creates and returns an
NSPrint object ready to control the printing of the specified view.
- macOS 10.0+
The view whose contents you want to print.
NSPrint object. You must run the operation to print the view.
NSPrint object uses the settings stored in the shared
NSPrint object. This method raises an
NSPrint if there is already a print operation in progress; otherwise the returned object is made the current print operation for this thread.