EPS inside EPS as a link - any alternative to "run" command?
<p>Maybe this is a dumb question but I have zero experience in PostScript/EPS and I need to (try and) solve a problem I got (the functionality worked in the past...so I am told). All is under Windows 7 x64.</p>

<p>The requirement asks to Link an EPS file inside another EPS file. The way it was done was using the "run" command along with "translate" and "scale" in order to fit the child.eps into parent.eps. (this is done by a Java class)</p>

<p>Consider the following (simplified) example:</p>

<pre><code>%!PS-Adobe-3.0 EPSF-3.0
%!PS-Adobe EPSF-3.0
%%BoundingBox: 0 0 800 200

/Courier findfont 70 scalefont setfont
10 10 moveto
(Hello World!) show
%%EOF
</code></pre>

<p>The above works fine but if, before <em>%%EOF</em>, I add </p>

<blockquote>
  <p>(child.eps) run</p>
</blockquote>

<p>I get quite strange behaviors (tried this on 3 Windows PCs with exact same results):</p>

<ul>
<li>Adobe Illustrator CS5 (v15) works ok(ish)...it always works if Illustrator is <strong>not open</strong> and I <strong>double-click</strong> the file. But if I open Illustrator first then use its File -> Open dialog to
open the EPS file, it fails with "unknown error"</li>
<li>Adobe Illustrator CS6 fails to open the file with "unknown error" (all the time)</li>
<li>GSView (with Ghostscript 9.07 and -dNOSAFER option) opens it correctly.</li>
</ul>

<p>What am I missing? Or what am I doing wrong? </p>

<p>Is there any other way to link an EPS inside another EPS besides using the "run" command so I can get consistent results? </p>

<p>Thanks!</p>

<p>LE: both, Parent.eps and Child.eps are in the same folder</p>