print

fun print(printContent: PrintContent, callback: Callback)

Prints the specified content to the connected reader's printer, if available.

Using this method requires opting in to the PrintApi annotation.

Parameters

printContent

The PrintContent representing the contents to be printed.

callback

The callback to be called when the operation completes.