Hey @sander.vloeberghs
This is what @Robert is talking about: ESC/POS Printing
Check it out. Hope that helps!