Platforms to show: All Mac Windows Linux Cross-Platform
Back to UIPrinterMBS class.
UIPrinterMBS.displayLocation as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Printing iOS | MBS iOS Plugin | 24.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Many printers can be configured with a location string to reflect the printer’s physical location in an office. This property contains that location string or nil if no such string is available.
For printers you create yourself using the printerWithURL method, the value of this property is nil until you successfully connect to the printer using the contactPrinter method.
(Read only property)
Some examples using this property:
UIPrinterMBS.displayName as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Printing iOS | MBS iOS Plugin | 24.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This property contains a printer name that is suitable for display in your app’s user interface. For printers you create yourself using the printerWithURL method, the value of this property is nil until you successfully connect to the printer using the contactPrinter method.
(Read only property)
UIPrinterMBS.Handle as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Printing iOS | MBS iOS Plugin | 24.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
(Read and Write property)
UIPrinterMBS.makeAndModel as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Printing iOS | MBS iOS Plugin | 24.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
The string in this property is provided by the printer and usually consists of the manufacturer’s name, the model name of the printer, and the model number of the printer.
For printers you create yourself using the printerWithURL method, the value of this property is nil until you successfully connect to the printer using the contactPrinter method.
(Read only property)
Some examples using this property:
UIPrinterMBS.supportedJobTypes as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Printing iOS | MBS iOS Plugin | 24.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Job types indicate the types of operations you can perform with the printer. You might use this information when deciding whether or not to use a printer for a particular task. For example, a photo app might prevent a printer picker interface from displaying printers that do not support the UIPrinterJobTypePhoto job type.
For printers you create yourself using the printerWithURL method, the value of this property is JobTypeUnknown until you successfully connect to the printer using the contactPrinter method.
(Read only property)
UIPrinterMBS.supportsColor as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Printing iOS | MBS iOS Plugin | 24.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
The value of this property is true if the printer supports color printing or NO if it does not. For printers you create yourself using the printerWithURL method, the value of this property is false until you successfully connect to the printer using the contactPrinter method.
(Read only property)
UIPrinterMBS.supportsDuplex as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Printing iOS | MBS iOS Plugin | 24.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
The value of this property is true if the printer supports double-sided printing or false if it does not. For printers you create yourself using the printerWithURL method, the value of this property is NO until you successfully connect to the printer using the contactPrinter method.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Printing iOS | MBS iOS Plugin | 24.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Use this property to retrieve the address of a printer on the network. You can also save the value in this property to disk and use it later to initialize a new printer object that points to the same printer.
e.g. "ipp://Laserdrucker.local.:631/ipp/print"
(Read only property)
The items on this page are in the following plugins: MBS iOS Plugin.