SIISLP800PrinterManager¶
class SIISLP800PrinterManager
List
Method
| Name | Description |
|---|---|
| connect(printer: SIISLP800Printer) async throws | Starts a connection to the printer using the specified printer information. |
| connect(address: String) async throws | Starts a connection to the printer using the specified address. |
| disconnect(timeout: Int) throws | Terminates the connection with the printer. |
| printSmartLabelImageData(_ labelManager: SIISLP800SmartLabelManager) async throws | Converts a Smart Label file into printer‑ready data and sends it to the printer. |
| feedPosition() async throws | Feeds the marked paper forward and aligns it to the next mark position on the printer. |
| sendBinary(_ data: Data) async throws | Sends binary data to the printer without any conversion. |
| printImageData(_ image: UIImage, binarization: SIISLP800Binarization = .threshold) async throws | Converts an image into printer‑ready data and sends it to the printer. |
| getStatus() throws -> Int | Gets the current printer status. |
| resetPrinter() async throws | Performs a hardware reset of the printer. |
| getVersion() -> String | Gets the SDK version as a character string. |
| isConnect() -> Bool | Gets the connection state with the printer. |
| getSendTimeout() -> Int | Gets the send timeout period in milliseconds. |
| setSendTimeout(_ timeout: Int) | Sets the send timeout period in milliseconds. |
| getReceiveTimeout() -> Int | Gets the receive timeout period in milliseconds. |
| setReceiveTimeout(_ timeout: Int) | Sets the receive timeout period in milliseconds. |
| getPrintSmartLabelMode() -> Int | Gets the paper type used when printing a label file. |
| setPrintSmartLabelMode(_ mode: Int) | Sets the paper type used when printing a label file. |
| getPrinterModel() -> Int | Gets the model of the connected printer. |
Property
| Name | Description |
|---|---|
| delegate | Delegate that deligates printer status change events. |