Years ago, I tried to set up a cups server and got thwarted as there was no linux driver for my printer at the time and the generic ones printed pages of commands. Now cups works with that thermal cat printer, I'm still stuck with the page-size settings but so far it's doing the magick!.