printBarcode method

Future<int?> printBarcode(
  1. String text,
  2. int width,
  3. int height
)

Prints a barcode with the specified data and dimensions.

text The data to encode in the barcode. width The width of the barcode. height The height of the barcode.

Returns an int representing the result of the print operation, or null if it fails.

Implementation

Future<int?> printBarcode(String text, int width, int height) {
  return instance.printBarcode(text, width, height);
}