defineUserDefinedCharacters method

ESCPOS defineUserDefinedCharacters(
  1. int c1,
  2. int c2,
  3. Uint8List b
)

Implementation

ESCPOS defineUserDefinedCharacters(int c1, int c2, Uint8List b) {
  final command = Uint8List.fromList([27, 38, 3, c1, c2]);
  _data += Uint8List.fromList([...command, ...b]);
  return this;
}