---
title: NSPrinter
framework: appkit
role: symbol
role_heading: Class
path: appkit/nsprinter
---

# NSPrinter

An object that describes a printer’s capabilities.

## Declaration

```swift
class NSPrinter
```

## Overview

Overview NSPrinter provides information about a printer; it does not modify printer attributes or control a printing job. A printer object can be constructed by specifying either the printer name or the make and model of an available printer. Typically, Cocoa apps don’t create NSPrinter objects; instead, the printing system uses these objects to support the printing jobs and when it shows users a list of printers.

## Topics

### Creating the Printer Object

- [init(name:)](appkit/nsprinter/init(name:).md)
- [init(type:)](appkit/nsprinter/init(type:).md)

### Getting General Printer Information

- [printerNames](appkit/nsprinter/printernames.md)
- [printerTypes](appkit/nsprinter/printertypes.md)
- [NSPrinter.TypeName](appkit/nsprinter/typename.md)

### Getting Attributes

- [name](appkit/nsprinter/name.md)
- [type](appkit/nsprinter/type.md)

### Getting Page and Printer Information

- [pageSize(forPaper:)](appkit/nsprinter/pagesize(forpaper:).md)
- [NSPrinter.PaperName](appkit/nsprinter/papername.md)
- [languageLevel](appkit/nsprinter/languagelevel.md)

### Querying Tables

- [deviceDescription](appkit/nsprinter/devicedescription.md)

### Deprecated

- [NSPrinter.TableStatus](appkit/nsprinter/tablestatus.md)

### Initializers

- [init(coder:)](appkit/nsprinter/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Print Information

- [NSPrintInfo](appkit/nsprintinfo.md)
- [NSPrintOperation](appkit/nsprintoperation.md)
