Added in Version 1.0.0

QRCodeParameter

QR code setting parameters

Constructor

QRCodeParameter(content: string)

Initialize object

Property

content

QR code data

model

QR code model

level

Error correction level for QR code

cellSize

Cell size for QR code

Method

setModel(model: QRCodeModel)

Set the QR code model

setLevel(level: QRCodeLevel)

Set the error correction level for the QR code

setCellSize(cellSize: number)

Set the cell size for the QR code

Note

  • A line break is automatically added after the 2D code is printed.

  • If a 2D code that does not fit in the printing area is specified, the printing data for the 2D code is not generated. (Except for TSP100II and TSP100III series)