Skip to main content

addTextSmooth

addTextSmooth​

Adds smoothing setting to the command buffer.

Parameters​

smooth​

  • number

Enables or disables smoothing.

ValueDescription
PrinterConstants.TRUEEnables smoothing.
PrinterConstants.FALSE (default)Disables smoothing.
PrinterConstants.PARAM_DEFAULTSpecifies the default value (smoothing disabled).

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.