Skip to main content

Interface: AddTextSizeParams

width (optional)​

width?: number

Specifies the horizontal scaling of characters.

ValueDescription
Integer from 1 to 8Specifies the horizontal scaling factor rate (default: 1).
PrinterConstants.PARAM_UNSPECIFIED Not specify.
PrinterConstants.PARAM_DEFAULTSpecifies the default value (1).

height (optional)​

height?: number

Specifies the vertical scaling of characters.

ValueDescription
Integer from 1 to 8Specifies the vertical scaling factor rate (default: 1).
PrinterConstants.PARAM_UNSPECIFIED Not specify.
PrinterConstants.PARAM_DEFAULTSpecifies the default value (1).