You will need a sister application to Ghostscript called GhostPDL. GhostPDL includes an executable file named gsvg (or gsvg.exe on Windows) that can use the SVG input and output PostScript, PDF, PNG, TIFF, PPM, PBM, JPEG and some others.
You probably need to compile GhostPDL from the source . Then run 2 commands:
gsvg \ -dNOPAUSE \ -sDEVICE=ps2write \ -sOutputFile=my.ps \ my.svg
gsvg does not seem to support direct EPS writing. So run:
gs \ -dNOPAUSE \ -sDEVICE=epswrite \ -sOutputFile=my.eps \ my.ps
Kurt pfeifle
source share