printBarcode method

Future<KeckPrintResult> printBarcode(
  1. BarcodeType type,
  2. String data, {
  3. int height = 100,
  4. int width = 3,
  5. BarcodeHri hri = BarcodeHri.below,
})

Druckt einen 1D-Barcode (GS k, Form 2).

Implementation

Future<KeckPrintResult> printBarcode(
  BarcodeType type,
  String data, {
  int height = 100,
  int width = 3,
  BarcodeHri hri = BarcodeHri.below,
}) =>
    transport.send(_generator().barcode(
      type,
      data,
      height: height,
      width: width,
      hri: hri,
    ));