Deprecated NSPrintInfo Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.2

setDefaultPrinter:

Deprecated. (Deprecated in OS X v10.2.)

+ (void)setDefaultPrinter:(NSPrinter *)aPrinter
Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.2.
Declared In
NSPrintInfo.h

sizeForPaperName:

Deprecated. (Deprecated in OS X v10.2.)

+ (NSSize)sizeForPaperName:(NSString *)name
Discussion

Use the pageSizeForPaper: method of NSPrinter instead.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.2.
Declared In
NSPrintInfo.h