Install Raspbian Buster and Wire the printer according to this. I powered the printer with the GPIO pins as well. Run a test to see if the printer is working by punching in these commands into the ...
"""Every printer must accept settings dict without crashing.""" ...