tsplPrintQRCode abstract method

Future<void> tsplPrintQRCode(
  1. String code, {
  2. int x = 0,
  3. int y = 0,
  4. ErrLevel errLevel = ErrLevel.L,
  5. QRCodeMode mode = QRCodeMode.M,
  6. int rotate = 0,
})

Prints a QR code on TSPL printers.

  • code: QR code content.
  • unitSize: Size of each module.
  • errLevel: Error correction level.
  • encoding: Encoding of the string.

Implementation

Future<void> tsplPrintQRCode(
  String code, {
  int x = 0,
  int y = 0,
  ErrLevel errLevel = ErrLevel.L,
  QRCodeMode mode = QRCodeMode.M,
  int rotate = 0,
});