Supported Model:
TSP100IV TSP100IV SK TSP100IIIW TSP100IIILAN TSP100IIIBI TSP100IIIU TSP100IIU+ MCP31L MCP31LB MCP31CI MCP31CBI MCP31C MCP31CB MCP30 MCP21LB MCP20B MCP20 MCL32CI MCL32CBI POP10 POP10CI POP10CBI TSP650II TSP650IISK TSP700II TSP800II BSC10II SP700 SK1-211/221/V211 SK1-311/321/V311 SK1-41 SK5-31 SM-S210i(StarPRNT) SM-S210i(ESC/POS) SM-S230i(StarPRNT) SM-S230i(ESC/POS) SM-T300(StarPRNT) SM-T300(ESC/POS) SM-T300i(StarPRNT) SM-T300i(ESC/POS) SM-T400i(StarPRNT) SM-T400i(ESC/POS) SM-L200 SM-L300
printAsync(command: String)
printAsync(command: String): Deferred<Unit>
Parameter |
||
---|---|---|
command |
StarXpand Command from StarXpandCommandBuilder.getCommands()or field data in JSON format for template printing |
Error
Code
Description
Device is not opened
Communication failed
The device status is invalid.
An error has occurred in the device.
The printer is holding paper.
Printing did not finish within the time that was specified in printTimeout.
The specified template does not conform to the specification.
The response from the device is invalid.
The network function of the host device cannot be used.
The Bluetooth function of the host device cannot be used.
The USB function of the host device cannot be used.
Unknown
Note
If any of the following errors are thrown, the printing may have been executed, but its printed content is not guaranteed.