init(name:)
Creates and returns a printer object initialized with the specified printer name.
Declaration
init?(name: String)Parameters
- name:
The name of the printer.
Return Value
An initialized NSPrinter object, or nil if the specified printer was not available.
See Also
Related Documentation
name- Printing Programming Guide for Mac
printerNames