Commit 41c2b53d authored by Andrey's avatar Andrey

printCodeTable bug fixed

parent 55bcc079
......@@ -137,7 +137,7 @@ class Printer {
if (cancelKanji) {
_socket.write(cKanjiCancel);
}
_socket.add(Uint8List.fromList(List.from(cmd)));
_socket.add(Uint8List.fromList(cmd));
}
/// Prints one line of styled text
......@@ -179,9 +179,11 @@ class Printer {
}
_socket.add(
Uint8List.fromList(List.from(list)),
Uint8List.fromList(list),
);
reset();
// Back to initial code table
setGlobalCodeTable(_codeTable);
}
/// Print a row.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment