downloadPcx method

Future<bool> downloadPcx(
  1. String filePath
)

Downloads a PCX file to the printer.

Implementation

Future<bool> downloadPcx(String filePath) async {
  var params = {
    "printerId": _printerId,
    "printInfo": _printerInfo.toMap(),
    "filePath": filePath,
    "brotherFileName": ITbCommand.pathToBrotherFileName(filePath)
  };

  final bool success =
      await _channel.invokeMethod("typeB-downloadPcx", params);

  return success;
}