Added in Version 1.0.0

QRCodeParameter

QR code setting parameters

Constructor

QRCodeParameter(content: String)

Initialize object

Property

Type

content

QR code data

String

model

QR code model

QRCodeModel

level

Error correction level for QR code

QRCodeLevel

cellSize

Cell size for QR code

Int

Method

setModel(model: QRCodeModel)

Set the QR code model

setLevel(level: QRCodeLevel)

Set the error correction level for the QR code

setCellSize(cellSize: Int)

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)