It is possible to use ImagicMagick to export EPS image. But it seems need a component named "Ghostscript". You may check your ImageMagick installation is ready for generate EPS image by typing "identify -list format" on your console.
For putting text into a image, you may check here:
imagemagick.org/Usage/text/