---
title: "PMPrinterIsRemote(_:_:)"
framework: applicationservices
role: symbol
role_heading: Function
path: applicationservices/1461377-pmprinterisremote
---

# PMPrinterIsRemote(_:_:)

Indicates whether a printer is hosted by a remote print server.

## Declaration

```swift
func PMPrinterIsRemote(_ printer: PMPrinter, _ isRemoteP: UnsafeMutablePointer<DarwinBoolean>) -> OSStatus
```

## Parameters

- `printer`: The printer you’re querying to determine whether it is hosted by a remote print server.
- `isRemoteP`: A pointer to your Boolean variable. On return, true indicates that the printer is hosted by a remote print server; otherwise, false.

## Return Value

Return Value A result code. See Result Codes.

## Discussion

Discussion If this function returns true, the printer is hosted by a remote print server and the printer can be considered a shared printer. In macOS, the typical way that users create a print queue for a shared printer is by browsing. Print queues for shared printers that are created by browsing are marked as remote queues, and PMPrinterIsRemote returns true for such printers. However, expert users can create a local queue for a remote printer manually, and such a printer does not appear to be remote printer. Whether a printer is remote is derived from the CUPS printer-type attribute for the print queue.

## See Also

### Accessing Information About a Printer

- [PMPrinterCopyDescriptionURL(_:_:_:)](applicationservices/1459187-pmprintercopydescriptionurl.md)
- [PMPrinterCopyDeviceURI(_:_:)](applicationservices/1460543-pmprintercopydeviceuri.md)
- [PMPrinterCopyHostName(_:_:)](applicationservices/1462076-pmprintercopyhostname.md)
- [PMPrinterCopyPresets(_:_:)](applicationservices/1459117-pmprintercopypresets.md)
- [PMPrinterGetCommInfo(_:_:_:)](applicationservices/1461069-pmprintergetcomminfo.md)
- [PMPrinterGetDriverCreator(_:_:)](applicationservices/1459107-pmprintergetdrivercreator.md)
- [PMPrinterGetID(_:)](applicationservices/1459606-pmprintergetid.md)
- [PMPrinterGetLocation(_:)](applicationservices/1461467-pmprintergetlocation.md)
- [PMPrinterGetMakeAndModelName(_:_:)](applicationservices/1463347-pmprintergetmakeandmodelname.md)
- [PMPrinterGetMimeTypes(_:_:_:)](applicationservices/1460125-pmprintergetmimetypes.md)
- [PMPrinterGetName(_:)](applicationservices/1459018-pmprintergetname.md)
- [PMPrinterGetOutputResolution(_:_:_:)](applicationservices/1459076-pmprintergetoutputresolution.md)
- [PMPrinterSetOutputResolution(_:_:_:)](applicationservices/1459931-pmprintersetoutputresolution.md)
- [PMPrinterGetPaperList(_:_:)](applicationservices/1460088-pmprintergetpaperlist.md)
- [PMPrinterGetPrinterResolutionCount(_:_:)](applicationservices/1462004-pmprintergetprinterresolutioncou.md)
- [PMPrinterGetIndexedPrinterResolution(_:_:_:)](applicationservices/1464490-pmprintergetindexedprinterresolu.md)
- [PMPrinterGetState(_:_:)](applicationservices/1462954-pmprintergetstate.md)
- [PMPrinterSetDefault(_:)](applicationservices/1461118-pmprintersetdefault.md)
- [PMPrinterIsDefault(_:)](applicationservices/1459030-pmprinterisdefault.md)
- [PMPrinterIsFavorite(_:)](applicationservices/1462074-pmprinterisfavorite.md)
- [PMPrinterIsPostScriptCapable(_:)](applicationservices/1464168-pmprinterispostscriptcapable.md)
- [PMPrinterIsPostScriptPrinter(_:_:)](applicationservices/1462257-pmprinterispostscriptprinter.md)
