Initializer

init(name:)

Creates and returns an NSPrinter 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

Creating an NSPrinter

init?(type: NSPrinter.TypeName)

Creates and returns an NSPrinter object initialized to the first available printer with the specified make and model information.