<?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: EPS output from sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914560#M24296</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Has this problem ever been solved?&amp;nbsp; I have a similar scenario where I need a help on creating an EPS file.&amp;nbsp; Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;could suggest a final solution?&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods _all_ close; 
ods graphics on; 
ods listing  /*image_dpi=600*/ gpath= "&amp;amp;mypath\EPS images";
	ods graphics / imagename="imagename" outputfmt=eps reset=index noborder;
	ods select survivalplot(persist);
	proc lifetest data=have method = km plots=survival(nocensor cb=hw  atrisk(outside(0.10)));
		time month*cnsr(1);
	 	strata actarm / order = internal ;
	run;
ods graphics off; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;log&lt;/P&gt;
&lt;PRE&gt;NOTE: The LOGLOG transform is used to compute the confidence limits for
      the quartiles of the survivor distribution and the confidence limit
      for the survivor function. To suppress using this transform, specify
      CONFTYPE=LINEAR in the PROC LIFETEST statement.
NOTE: The graph in the LISTING destination will be rendered as an image
      due to the use of transparency.
ERROR: Unsupported image file format for output file.
ERROR: Unsupported image file format for output file.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE LIFETEST used (Total process time):
      real time           0.26 seconds
      cpu time            0.06 seconds
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 19:41:50 GMT</pubDate>
    <dc:creator>A_Kh</dc:creator>
    <dc:date>2024-02-05T19:41:50Z</dc:date>
    <item>
      <title>EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554076#M18039</link>
      <description>&lt;P&gt;I need to output EPS vector files for publication, when I run this code I get the error:&lt;/P&gt;&lt;P&gt;WARNING: SASREPORT13 destination does not support EPS images. Using the default static format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics / reset outputfmt=eps noborder;&lt;/P&gt;&lt;P&gt;ods listing device=eps&lt;BR /&gt;dpi=300&lt;BR /&gt;file= 'AJE-00824-2018 Sheridan Figure 1a.eps'&lt;BR /&gt;gpath="G:\CA Birth Cohort AP\Final Data\";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=week noborder;&lt;BR /&gt;/*code****/&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods listing close;&lt;BR /&gt;ods graphics / reset;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 20:38:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554076#M18039</guid>
      <dc:creator>psh23</dc:creator>
      <dc:date>2019-04-25T20:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554077#M18040</link>
      <description>&lt;P&gt;Are you running this inside of SAS Enterprise Guide?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 20:40:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554077#M18040</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-04-25T20:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554109#M18041</link>
      <description>&lt;P&gt;Yes, tried in base sas as well and got the following error:&lt;/P&gt;&lt;P&gt;WARNING: HTML4 destination does not support EPS images. Using the default static format.&lt;BR /&gt;NOTE: The graph will be rendered as an image due to the use of transparency.&lt;BR /&gt;ERROR: Unsupported image file format for output file.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 00:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554109#M18041</guid>
      <dc:creator>psh23</dc:creator>
      <dc:date>2019-04-26T00:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554258#M18042</link>
      <description>&lt;P&gt;You need to close all ODS destinations and just open up ODS LISTING. From your BASE SAS install, try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods _all_ close;&lt;/P&gt;
&lt;P&gt;ods graphics / reset outputfmt=eps noborder imagename='AJE-00824-2018 Sheridan Figure 1a';&lt;/P&gt;
&lt;P&gt;ods listing&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;image_dpi=300&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gpath="G:\CA Birth Cohort AP\Final Data\";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 13:52:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554258#M18042</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-04-26T13:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554283#M18043</link>
      <description>&lt;P&gt;Hi Dan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. I am still getting the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Unsupported image file format for output file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 14:23:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554283#M18043</guid>
      <dc:creator>psh23</dc:creator>
      <dc:date>2019-04-26T14:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554295#M18045</link>
      <description>This documentation shows EPS output is only supported by PS output destination&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=odsproc&amp;amp;docsetTarget=p0kroq43yu0lspn16hk1u4c65lti.htm&amp;amp;locale=en#p0kj67bywk0f8yn1dn6k8hg405n8" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=odsproc&amp;amp;docsetTarget=p0kroq43yu0lspn16hk1u4c65lti.htm&amp;amp;locale=en#p0kj67bywk0f8yn1dn6k8hg405n8&lt;/A&gt;</description>
      <pubDate>Fri, 26 Apr 2019 14:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/554295#M18045</guid>
      <dc:creator>psh23</dc:creator>
      <dc:date>2019-04-26T14:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914560#M24296</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Has this problem ever been solved?&amp;nbsp; I have a similar scenario where I need a help on creating an EPS file.&amp;nbsp; Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;could suggest a final solution?&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods _all_ close; 
ods graphics on; 
ods listing  /*image_dpi=600*/ gpath= "&amp;amp;mypath\EPS images";
	ods graphics / imagename="imagename" outputfmt=eps reset=index noborder;
	ods select survivalplot(persist);
	proc lifetest data=have method = km plots=survival(nocensor cb=hw  atrisk(outside(0.10)));
		time month*cnsr(1);
	 	strata actarm / order = internal ;
	run;
ods graphics off; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;log&lt;/P&gt;
&lt;PRE&gt;NOTE: The LOGLOG transform is used to compute the confidence limits for
      the quartiles of the survivor distribution and the confidence limit
      for the survivor function. To suppress using this transform, specify
      CONFTYPE=LINEAR in the PROC LIFETEST statement.
NOTE: The graph in the LISTING destination will be rendered as an image
      due to the use of transparency.
ERROR: Unsupported image file format for output file.
ERROR: Unsupported image file format for output file.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE LIFETEST used (Total process time):
      real time           0.26 seconds
      cpu time            0.06 seconds
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 19:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914560#M24296</guid>
      <dc:creator>A_Kh</dc:creator>
      <dc:date>2024-02-05T19:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914584#M24297</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/321371"&gt;@A_Kh&lt;/a&gt;&amp;nbsp;, do you get the correct output if you specify OUTPUTFMT=EPSI instead of EPS?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 22:16:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914584#M24297</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2024-02-05T22:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914585#M24298</link>
      <description>&lt;P&gt;Yes, I do. But my sponsor has requested specifically EPS files. And I'm not sure if EPSI has the same functionalities as EPS files.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 22:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914585#M24298</guid>
      <dc:creator>A_Kh</dc:creator>
      <dc:date>2024-02-05T22:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914588#M24299</link>
      <description>&lt;P&gt;An ESPI file is an EPS file with a "preview bitmap". &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/321371"&gt;@A_Kh&lt;/a&gt;&amp;nbsp;, try OUTPUTFMT=psepsf and see if this is the format you need.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 22:32:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914588#M24299</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2024-02-05T22:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914593#M24300</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;, thank you for your time and support!&lt;BR /&gt;This option created "PostScript file" with the following WARNING in the log&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;WARNING 1-322: Assuming the symbol PS was misspelled as psepsf.
&lt;/PRE&gt;
&lt;P&gt;I assume this is not an EPS file.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 460px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93281iD8B75A06BAE63EC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 23:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914593#M24300</guid>
      <dc:creator>A_Kh</dc:creator>
      <dc:date>2024-02-05T23:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914594#M24301</link>
      <description>&lt;P&gt;Hmm...the psepsf output format might be supported only with the ODS LATEX destination. It might be possible to use that destination instead of ODS LISTING. You can just throw away the ".tex" file and keep the ".eps" file generated for the graph.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/321371"&gt;@A_Kh&lt;/a&gt;&amp;nbsp;, please try something like the following and see if is works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;ods _all_ close; 
ods graphics on; 
ods latex  path= "&amp;amp;mypath\EPS images" file="ignore.tex";
	ods graphics / imagename="imagename" outputfmt=psepsf reset=index noborder;
	ods select survivalplot(persist);
	proc lifetest data=have method = km plots=survival(nocensor cb=hw  atrisk(outside(0.10)));
		time month*cnsr(1);
	 	strata actarm / order = internal ;
	run;
ods graphics off; 
ods _all_ close;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 05 Feb 2024 23:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914594#M24301</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2024-02-05T23:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: EPS output from sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914603#M24302</link>
      <description>&lt;P&gt;Interesting.. This time the code produced PNG file (with higher resolution than it is produced usually with IMAGEFMT=PNG option). The same WARNING message in the log (WARNING 1-322: Assuming the symbol PS was misspelled as psepsf.)&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 490px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93283i0A939D4F0BA06177/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 23:35:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/EPS-output-from-sgplot/m-p/914603#M24302</guid>
      <dc:creator>A_Kh</dc:creator>
      <dc:date>2024-02-05T23:35:34Z</dc:date>
    </item>
  </channel>
</rss>

