Printer Commands

Where I can find a book or information related to how to program code to send to the printer so is able to do graphical / non-graphical things?

I have kiosk printer such as KR403 and wanted to learn to program them by using programing code.