Creates and returns an
NSPrint object ready to control the printing of the specified view using custom print settings.
- macOS 10.0+
The view whose contents you want to print.
The print settings to use when printing the view.
NSPrint object. You must run the operation to print the view.
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.