<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get a file figurename.EPS with ODS GRAPHICS? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100508#M3744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you both! It Works&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;It can be so easy when you know, where to define the format ... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2012 10:27:37 GMT</pubDate>
    <dc:creator>Dani123</dc:creator>
    <dc:date>2012-07-06T10:27:37Z</dc:date>
    <item>
      <title>How to get a file figurename.EPS with ODS GRAPHICS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100501#M3737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently working in an environment which (for further processing) requests the SAS graphics either in a catalog (as with the former PROC GPLOT) or if not, then a file with extension &lt;STRONG&gt;.eps.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to create my graphics with PROC SGPLOT (SAS 9.2 is available). But I dont seem to get my figure from SGPLOT with ODS GRAPHICS into a File as "&lt;STRONG&gt;figurename.eps"&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The nearest I got was the following code, but when I try to view my .eps file for example with Word, then only "codetext" is shown. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;goptions reset=all device=sasprtc vsize=5in;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods listing close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods printer printer="PostScript EPS Color"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;file="&amp;amp;path/figurename.eps" startpage=never;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods graphics on;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc sgplot data=aaa;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; ... some statements ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods graphics off;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods printer close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods listing;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried also with ODS HTML and device=eps, but that didnt work at all. I always got the following message:&lt;/P&gt;&lt;P&gt;WARNING: Unsupported device 'EPS' for HTML destination. Using default device 'PNG'.&lt;/P&gt;&lt;P&gt;WARNING: tagsets.HTML4 destination does not support EPS images. Using the default static format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas what I am doing wrong? &lt;/P&gt;&lt;P&gt;Would it be possible to get the ODS GRAPHICS into a catalog? I am not very familiar with the two graphic worlds, least of all their differences ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I dont find a solution, I will have to re-pogramm my figures with PROC GPLOT.&amp;nbsp;&amp;nbsp; &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 17:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100501#M3737</guid>
      <dc:creator>Dani123</dc:creator>
      <dc:date>2012-07-05T17:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a file figurename.EPS with ODS GRAPHICS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100502#M3738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... there may be an easier way, but this will at least get postscript (there's no encapsulated postscript IMAGEFMT)&lt;/P&gt;&lt;P&gt;there are free tools for PS to EPS conversion if you really need EPS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods latex path="z:\";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods graphics on / imagefmt=ps imagename='plot';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;proc sgplot data=sashelp.class;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;&amp;nbsp; scatter x=height y=weight / group=sex;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods graphics off;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods latex close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from page 4 in ... &lt;A href="http://www2.sas.com/proceedings/sugi31/192-31.pdf"&gt;Creating Statistical Graphics in SAS 9.2: What Every Statistical User Should Know&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 18:40:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100502#M3738</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-07-05T18:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a file figurename.EPS with ODS GRAPHICS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100503#M3739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can also be done with ODS LISTING. ODS LATEX is not required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 18:46:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100503#M3739</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2012-07-05T18:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a file figurename.EPS with ODS GRAPHICS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100504#M3740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, using IMAGEFMT=EPSI instead of PS should give you eps output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 18:55:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100504#M3740</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2012-07-05T18:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a file figurename.EPS with ODS GRAPHICS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100505#M3741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... just curious, if I use this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods latex path="z:\";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods graphics on / imagefmt=epsi imagename='plot';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc sgplot data=sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&amp;nbsp; scatter x=height y=weight / group=sex;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods graphics off;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods latex close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know where the EPS file is located, in folder Z:\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I use the default LISTING destination (no path allowed), where does the EPS file go&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods graphics on / imagefmt=epsi imagename='plot';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc sgplot data=sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&amp;nbsp; scatter x=height y=weight / group=sex;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods graphics off;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 19:06:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100505#M3741</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-07-05T19:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a file figurename.EPS with ODS GRAPHICS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100506#M3742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the GPATH option on ODS LISTING to control that output location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 19:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100506#M3742</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2012-07-05T19:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a file figurename.EPS with ODS GRAPHICS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100507#M3743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks ... works like a charm.&amp;nbsp; Time to learn more about the the SG PROCS and all extra stuff (e.g. how to direct output) that I understand in the "non SG world".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 20:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100507#M3743</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-07-05T20:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a file figurename.EPS with ODS GRAPHICS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100508#M3744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you both! It Works&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;It can be so easy when you know, where to define the format ... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 10:27:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100508#M3744</guid>
      <dc:creator>Dani123</dc:creator>
      <dc:date>2012-07-06T10:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a file figurename.EPS with ODS GRAPHICS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100509#M3745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-GB"&gt;&lt;SPAN lang="EN-GB"&gt;I am still confused about available fileformats with ODS graphic. And I would therefore like &lt;/SPAN&gt;&lt;/SPAN&gt;to repeat the original question: Does anyone know how to produce graphics in EPS format with ODS? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the documentation it seems that EPS should work with the ODS LISTING destination, but in practice it doesn't. The error message is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ERROR: Unsupported image file format for output file."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, EMF format shold be possible with the RTF-destination. Then I get this error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ERROR: Trying to open a key that does not exist: CORE\PRINTING\PRINTERS\\DEFAULT SETTINGS"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In practice, I therefore often use the old method where I produce the graphics with annotate and gplot. And I can put it to almost whatever format I want with the device option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 13:54:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-a-file-figurename-EPS-with-ODS-GRAPHICS/m-p/100509#M3745</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2014-04-10T13:54:23Z</dc:date>
    </item>
  </channel>
</rss>

