Please use that instead!
CUPS filter for thermal printer Xprinter XP58IIH.
I've only tested this on my Mac (Yosemite 10.10.2), but I can't imagine it won't work on Linux as well.
To get this up and working, just clone the repository into a folder and run
You need to make sure that you have cups installed. If you are compiling on linux, you probably need to run
sudo apt-get install libcups2-dev libcupsimage2-dev to get the required header files. These are included on MacOSX.
After that you should have the binary file for the filter, and you can either manually place them;
The xp-58.ppd should live in
And the filter (rastertoxp58) should on macosx live in
/usr/libexec/cups/filter or on (some) linux based systems:
Or you can run the corresponding installation file for your system.
sudo sh ./install-mac
sudo sh ./install-linux (not tested, but should work)
Go to http://localhost:631/ and follow the instructions for activating the WebGUI.
After that you can follow the Linux Driver instructions that are shipped with the device. Or download them from here.
I'm not great at C. I've just modified the script provided by @klirichek and made it work on MacOSX. It probably won't work on Linux