printImage method

Future<bool> printImage(
  1. Uint8List imageData, {
  2. int commandType = 0,
  3. int printerWidth = 350,
  4. int printerHeight = 350,
  5. int rotation = 0,
  6. double scale = 0.91,
})

Print image.

Implementation

Future<bool> printImage(
  Uint8List imageData, {
  int commandType = 0,
  int printerWidth = 350, // Updated default
  int printerHeight = 350, // Updated default
  int rotation = 0,
  double scale = 0.91,
}) {
  throw UnimplementedError('printImage() has not been implemented.');
}