Platforms to show: All Mac Windows Linux Cross-Platform

UIPrinterMBS class   New in 24.2

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Printing iOS MBS iOS Plugin 24.2 ❌ No ❌ No ❌ No ✅ Yes iOS only
A printer on the network.

You use a printer object to obtain information about a printer so that you can display that information in your app’s interface. You do not use printer objects to communicate with the printer directly.

Most of the time, you use a UIPrinterPickerControllerMBS object to retrieve a printer object representing the printer selected by the user. If you already have a URL containing the address of a printer—perhaps one that was previously selected by the user—you can use that URL to create a printer object directly. When creating your own printer objects, you must connect to the printer using the contactPrinter method before retrieving any of the printer’s attributes.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Job Types

Constant Value Description
JobTypeDocument 1 The printer supports standard document printing.
JobTypeEnvelope 2 The printer supports printing on envelopes.
JobTypeLabel 4 The printer supports printing on cut labels.
JobTypeLargeFormat 64 The printer supports printing larger than the ISO A3 size.
JobTypePhoto 8 The printer supports printing with photographic print quality.
JobTypePostcard 128 The printer supports printing on postcards.
JobTypeReceipt 16 The printer supports printing receipts on a continuous roll of paper.
JobTypeRoll 32 The printer supports printing documents or photos on a continuous roll of paper.
JobTypeUnknown 0 The printer support is unknown.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some events using this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

The items on this page are in the following plugins: MBS iOS Plugin.

UIDocumentPickerMBS   -   UIPrinterPickerControllerMBS

The biggest plugin in space...