(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSPrinter 

Inherits From:	NSObject 

Declared In:	appkit/NSPrinter.h 

Finding an NSPrinter 

+ (NSPrinter *)printerWithName:(NSString *)name
	Returns the NSPrinter with the given name.
+ (NSPrinter *)printerWithType:(NSString *)type	Returns an NSPrinter object for a given printer type.
+ (NSArray *)printerTypes	Returns the names of the recognized printer types.  

Printer Attributes 

- (NSString *)host	Returns the name of the printer's host computer.
- (NSString *)name	Returns the printer's name.
- (NSString *)note	Returns the note associated with the printer.
- (NSString *)type	Returns the name of the printer's type.

Retrieving Specific Information 

- (BOOL)acceptsBinary	Returns YES if the printer accepts binary PostScript.
- (NSRect)imageRectForPaper:(NSString *)paperName
	Returns the printing rectangle for the named paper type.
- (NSSize)pageSizeForPaper:(NSString *)paperName
	Returns the size of the page for the named paper type.
- (BOOL)isColor	Returns whether the printer can print color.
- (BOOL)isFontAvailable:(NSString *)faceName	Returns whether the named font is available to the printer.
- (int)languageLevel	Returns the PostScript Language Level recognized by the printer.
- (BOOL)isOutputStackInReverseOrder	Returns whether the printer outputs pages in reverse page order.

Querying the NSPrinter Tables 

- (BOOL)booleanForKey:(NSString *)key	
inTable:(NSString *)table	Returns a boolean value associated with key in table.
- (NSDictionary *)deviceDescription	Returns a dictionary of key and values describing the device.  See NSGraphics.h for possible values.
- (float)floatForKey:(NSString *)key	Returns a float value associated with key in table.
inTable:(NSString *)table
- (int)intForKey:(NSString *)key	Returns an integer value associated with key in table.
inTable:(NSString *)table
- (float)floatForKey:(NSString *)key	Returns a floating point value associated with key in table.
inTable:(NSString *)table	
- (NSRect)rectForKey:(NSString *)key	Returns rectangle associated with key in table.
inTable:(NSString *)table	
- (NSSize)sizeForKey:(NSString *)key	Returns the size associated with key in table.
inTable:(NSString *)table	
- (NSString *)stringForKey:(NSString *)key	Returns a string associated with key in table.
inTable:(NSString *)table	
- (NSArray *)stringListForKey:(NSString *)key	Returns an array of strings associated with key in table.
inTable:(NSString *)table	
- (NSPrinterTableStatus)statusForTable:(NSString *)table
	Returns the status of the given table.
- (BOOL)isKey:(NSString *)key	Returns whether key is a key in table.
inTable:(NSString *)table