<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello; <br><br>I wanna export Scilab graphics directly into emf format but xs2emf function returns unexpected error message! <br><br>--> plot2d();<br> <br>--> xs2emf(0,'plotex.emf')<br> !--error 10000 <br>xs2emf: Unable to execute pstoedit.<br>at line 95 of function xs2emf called by : <br> xs2emf(0,'plotex.emf')<br> <br> <br> <br>Before using this function, It's necessary to install the following software:<br>ImageMagick-dynamic<br>PStoEdit<br>Ghostscript<br><br>Moreover we need to edit path names to point to the correct files. So I modified the file "xs2emf.sci" as below: <br>line# 52: if fileinfo("C:\Program Files\gs\gs9.07\bin\gsdll32.dll") == [] then<br>line# 70: pstoeditPath = "C:\Program Files\pstoedit\pstoedit.exe";<br><br>Also there is an related bug report on bugzilla. Please see: http://bugzilla.scilab.org/show_bug.cgi?id=11853<br>So, how can I overcome this issue?! <br><br>However, I can use pstoedit from other software such as GSview and it convert eps files to emf properly. <br>Furthermore, it has been mentioned that PStoEdit has a DLL which can be used directly by GSview! (see GSview's homepage) <br><br><br>Merci, <br>Mehran<br>_<br><br> </div></body>
</html>