---
title: "PMServerLaunchPrinterBrowser(_:_:)"
framework: applicationservices
role: symbol
role_heading: Function
path: applicationservices/1460175-pmserverlaunchprinterbrowser
---

# PMServerLaunchPrinterBrowser(_:_:)

Launches the printer browser to browse the printers available for a print server.

## Declaration

```swift
func PMServerLaunchPrinterBrowser(_ server: PMServer?, _ options: CFDictionary?) -> OSStatus
```

## Parameters

- `server`: The print server to browse. Pass kPMServerLocal to specify the local print server. Currently, you may specify only the local print server.
- `options`: This parameter is reserved for future use. At the present time, pass NULL. Passing NULL presents the printer browser in the default fashion.

## Return Value

Return Value A result code. See Result Codes.  If you specify a server whose printers cannot be browsed, this function returns the error code kPMInvalidParameter.

## Discussion

Discussion This function displays the standard printer browser to allow the user to create a new print queue.

## See Also

### Creating Printer Objects

- [PMServerCreatePrinterList(_:_:)](applicationservices/1459953-pmservercreateprinterlist.md)
- [PMSessionCreatePrinterList(_:_:_:_:)](applicationservices/1460119-pmsessioncreateprinterlist.md)
- [PMPrinterCreateFromPrinterID(_:)](applicationservices/1461363-pmprintercreatefromprinterid.md)
- [PMCreateGenericPrinter(_:)](applicationservices/1461960-pmcreategenericprinter.md)
