Contents

init(type:)

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

Declaration

init?(type: NSPrinter.TypeName)

Parameters

  • type:

    A string describing the make and model information. You can get this string using the Printertypes method.

Return Value

An initialized NSPrinter object, or nil if the specified printer was not available.

See Also

Related Documentation

Creating the Printer Object