Electron and thermal printe

Somebody knows a library or something tools to have connection between electron and thermal printer?