I am trying to send data to a thermal printer directly.
I have the following test data:
raw_data = bytes ("This is a test", "utf-8")
I would like to include two initial bytes to build the sequence ESC+@ (character ESC is ASCII 27) to initialize the printer.
How shall I do that?