Cleaned up interfaces, implemented ESC/POS printer driver.