title: GhostScript - ps2pdf - Errors when executing
body: <p>I have several Postscript files I need to convert to PDF for work. (No I cannot send you the PS files, it's confidential).</p>
  
  <p>They were created using Adobe 3.0 standards :
  (%!PS-Adobe-3.0</p>
  
  <p>%%Creator: Emtex - vdd2ps 212.5.1)</p>
  
  <p>So i need to invoke ps2pdf12.</p>
  
  <p>When I try ps2pdf12 test.ps output.pdf I get this :
  "Error: /undefined in ps2pdf12
  Operand Stack:</p>
  
  <p>Execution stack : 
    <strong>%interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
  -   2   %stopped_push   --nostringval--   --nostringval--   %loop_continue   --n
  ostringval--   --nostringval--   false   1   %stopped_push   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval
  --</strong>
  Dictionary stack:
     --dict:1166/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
  Current allocation mode is local
  Current file position is 9
  "</p>
  
  <p>I run the script using GhostScript 9.05 or 9.20 and I get the same error.</p>
  
  <p>I also tried using directly ghostScript with things like 
  "gs -o "output.pdf" -sDEVICE=pdfwrite -dCompatibilityLevel=1.2 -r=720 "test.PS" "
  but I get the same mistakes.</p>
  
  <p>When I am in Ghostview to watch my PS and I go to File-->Convert and I choose pdfwrite and resolution = 720, I get the pdf...</p>
  
  <p>Any ideas where my problem come from?</p>
  
  <p>Thanks in advance</p>