MonobjcMonobjc Documented Class Library
PrinterWithType Method (type)
NamespacesMonobjc.AppKitNSPrinterPrinterWithType(NSString)

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

Original signature is '+ (NSPrinter *)printerWithType:(NSString *)type'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSPrinter PrinterWithType(
	NSString type
)
Public Shared Function PrinterWithType ( _
	type As NSString _
) As NSPrinter
public:
static NSPrinter^ PrinterWithType(
	NSString^ type
)
Parameters
type (NSString)
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.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)