@henryaj, is everything working? It is difficult to comment on code not knowing this first. Second, I had adapted the Adafruit thermal printer library for another member on this topic which include a link to the code repo:
From what I can see, you grabbed the other libraries from member repos as well so that's good. Commenting on coding style is often quite subjective and if your code works...