Type Method

printerWithName:

Creates and returns an NSPrinter object initialized with the specified printer name.

Declaration

+ (NSPrinter *)printerWithName:(NSString *)name;

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

+ printerWithType:

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