Skip to main content

addTextStyle

addTextStyle​

Adds character style setting to the command buffer.

Parameters​

params​

Returns​

Promise<void>

Errors​

Error statusDescription
ERR_PARAMAn invalid parameter was passed.
ERR_TIMEOUTFailed to communicate with the devices within the specified time.
ERR_MEMORYNecessary memory could not be allocated.

Supplementary explanation​

  • If all the parameters are set to "PARAM_UNSPECIFIED," EPOS2_ERR_PARAM will be returned.