---
title: printerNames
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsprinter/printernames
---

# printerNames

Returns the names of all available printers.

## Declaration

```swift
class var printerNames: [String] { get }
```

## Return Value

Return Value An array of NSString objects, each of which contains the name of an available printer.

## Discussion

Discussion The user constructs the list of available printers when adding a printer in the Print panel or setting up printers in the Print & Scan preferences pane.

## See Also

### Related Documentation

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

### Getting General Printer Information

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