Thermal printer and OLED for Arduino files are here.
You'll need to download the following libaraies:
For OLED https://github.com/olikraus/u8g2/wiki/u8x8reference
For Thermal Printer https://learn.adafruit.com/mini-thermal-receipt-printer/overview