Skip to main content

addTextSize

addTextSize​

Adds character scaling factor 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," ERR_PARAM will be returned
  • For slip, endorsement, or validation printing, an integer from 1 to 2 can be set for the width and height.