posPrintBarcode abstract method

Future<void> posPrintBarcode(
  1. String content, {
  2. PBarcodeType type = PBarcodeType.code39,
  3. PStringEncoding encoding = PStringEncoding.utf8,
})

Prints a barcode to the POS printer.

  • content: The content of the barcode.
  • type: Type of barcode (e.g., Code39, Code128).
  • encoding: Encoding of the content string.

Implementation

Future<void> posPrintBarcode(
    String content, {
      PBarcodeType type = PBarcodeType.code39,
      PStringEncoding encoding = PStringEncoding.utf8,
    });