Skip to main content

addLineSpace

addLineSpace​

Adds line spacing setting to the command buffer.

Parameters​

linespc​

  • number

Specifies the line spacing (in dots).

ValueDescription
0 to 255Line spacing (in dots)

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 the line spacing for a single line is set smaller than the print character size, paper may be fed for a larger quantity than the set amount to ensure proper printing.