Prints a group of files.
- macOS 10.4+
The application object that is handling the printing.
An array of
NSStringobjects, each of which contains the name of a file to print.
A dictionary containing
NSPrint-compatible print job attributes.
A Boolean that specifies whether the print panel should be displayed for each file printed. Print progress indicators will be presented even if this value is
A constant indicating whether printing was successful. For a list of possible values, see
NSPrinting if the result of printing cannot be returned immediately, for example, if printing will cause the presentation of a sheet. If your method returns
NSPrinting it must always invoke the
reply(to] when the entire print operation has been completed, successfully or not.
This delegate method replaces
application:, which is now deprecated. If your application delegate only implements the deprecated method, it is still invoked, and
NSApplication uses private functionality to arrange for the print settings to take effect.