Added in Version 1.3.0

PageModeImageParameter

Image setting parameters

Constructor

PageModeImageParameter(source: string, x: number, y: number, width: number)

Initialize object

Property

source

Image source

x

X position of the start position (top left) of the image (mm)

y

Y position of the start position (top left) of the image (mm)

width

Width (dots)

effectDiffusion

Use of effect diffusion

threshold

Threshold for binarization

Method

setEffectDiffusion(effectDiffusion: boolean)

Set the use of effect diffusion

setThreshold(threshold: number)

Set the threshold for binarization

Note

  • If the specified size of the horizontal direction is more than 2400 dots, the printing data is not generated.