<?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: Ods EMF Output SAS 9.4 in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344656#M11975</link>
    <description>&lt;P&gt;Ballardw,&lt;/P&gt;&lt;P&gt;My graph is width=4.5in height=3in, would you happen to know how I could get rid of the rest of the white space in my output?&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2017 15:04:17 GMT</pubDate>
    <dc:creator>Whitlea</dc:creator>
    <dc:date>2017-03-27T15:04:17Z</dc:date>
    <item>
      <title>Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344137#M11957</link>
      <description>&lt;P&gt;I want to output my sgplot using EMFdual. I have tried several different options but the only option that has worked for me so far is:&lt;/P&gt;&lt;P&gt;ods graphics on / noborder;&lt;/P&gt;&lt;P&gt;ods html close ;&lt;/P&gt;&lt;P&gt;ods printer printer=emfplus;&lt;/P&gt;&lt;P&gt;This will print an EMF graph (print from my printer). Other options I have used appear to generate EMF but they are really PNGs.&amp;nbsp; This is obvious when I increase the size of the image.&amp;nbsp; If I can print an EMF, why cant I output it to a file?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 17:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344137#M11957</guid>
      <dc:creator>Whitlea</dc:creator>
      <dc:date>2017-03-24T17:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344189#M11958</link>
      <description>&lt;P&gt;Have you tried IMAGEFMT=EMFDual on the ODS Graphics statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 19:36:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344189#M11958</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-24T19:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344190#M11959</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;This seems to produce an emf file. SAS does seem to default to png
especially with goptions, evem with device=EMF?


/* first 64 bytes of graph file */
/*&amp;#1;   d            &amp;#3;  @&amp;#2;          LO  `;   EMF  &amp;#1; &amp;#12;j  Þ&amp;#1;  &amp;#2;     */


ods listing style=journal;
ods listing  gpath='d:/emf';
ods graphics on / width=8in imagefmt=emf imagename="emf";
proc sgplot data=sashelp.class;
scatter x=height y=weight / group=sex;
run;quit;
ods graphics off;


&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Mar 2017 19:38:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344190#M11959</guid>
      <dc:creator>rogerjdeangelis</dc:creator>
      <dc:date>2017-03-24T19:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344195#M11960</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/42345"&gt;@rogerjdeangelis&lt;/a&gt;&amp;nbsp;I think GOPTIONS are for SAS/GRAPH procedures and ODS GRAPHICS are for SG Procedures.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 19:57:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344195#M11960</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-24T19:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344217#M11961</link>
      <description>&lt;P&gt;Thanks Reeza&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Learned somrthing new.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;You are correct, when I was using goptions SAS ignored goptions and &amp;nbsp;'defaulted' to png.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 22:54:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344217#M11961</guid>
      <dc:creator>rogerjdeangelis</dc:creator>
      <dc:date>2017-03-24T22:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344647#M11972</link>
      <description>&lt;P&gt;This worked!!&lt;/P&gt;&lt;P&gt;Thank You Ballardw!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344647#M11972</guid>
      <dc:creator>Whitlea</dc:creator>
      <dc:date>2017-03-27T14:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344649#M11973</link>
      <description>&lt;P&gt;Thank You rogerjdeangeli!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:45:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344649#M11973</guid>
      <dc:creator>Whitlea</dc:creator>
      <dc:date>2017-03-27T14:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344651#M11974</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was new information for me too. Thanks Reeza&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344651#M11974</guid>
      <dc:creator>Whitlea</dc:creator>
      <dc:date>2017-03-27T14:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344656#M11975</link>
      <description>&lt;P&gt;Ballardw,&lt;/P&gt;&lt;P&gt;My graph is width=4.5in height=3in, would you happen to know how I could get rid of the rest of the white space in my output?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344656#M11975</guid>
      <dc:creator>Whitlea</dc:creator>
      <dc:date>2017-03-27T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344691#M11981</link>
      <description>&lt;P&gt;Did you try specifing you desired height and width on the ods graphichs options statement?&lt;/P&gt;
&lt;P&gt;Otherwise you may have to post a picture to indicate which white space and the procedure used to create it. If you need to do this the PNG style output would be preferable if it looks the same.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 16:50:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344691#M11981</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-27T16:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344692#M11982</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif"&gt;I found that frame=off border=off distorted my image but if I use&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;options papersize=("4.5" "7"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;) my image remains the same.&lt;/FONT&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 16:50:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344692#M11982</guid>
      <dc:creator>Whitlea</dc:creator>
      <dc:date>2017-03-27T16:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344812#M11997</link>
      <description>&lt;P&gt;PAPERSIZE is not an option for ods graphics. It can affect document margins though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics / width=5in height=6in;&lt;/P&gt;
&lt;P&gt;You can use any of the measurement units such as cm, mm, pt (printers point)&amp;nbsp;or px (pixels).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Border=off if used corretly should not "distort" image&amp;nbsp;just remove lines around the graphic display area&amp;nbsp;but since border&amp;nbsp;may appear in many places it is hard to guess what may have happened.&amp;nbsp;Frame can be&amp;nbsp;something entirely different and I would have to see the entire syntax you used to guess what may have happened.&lt;/P&gt;
&lt;P&gt;If you change the size of the graphics area you may want to consider using NOSCALE option to keep text size from getting enlarged/shrunk in proportion to the graphic display area&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 21:46:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/344812#M11997</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-27T21:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ods EMF Output SAS 9.4</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/345581#M12012</link>
      <description>&lt;P&gt;&lt;FONT color="#008080" face="Courier New"&gt;ods&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;_all_&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;close&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New"&gt;ods&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;graphics&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;on&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt; / &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New"&gt;reset&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt;=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New"&gt;all&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;width&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt;=&lt;/FONT&gt;&lt;FONT color="#00ae00" face="Courier New"&gt;4.5&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New"&gt;in&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;height&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt;=&lt;/FONT&gt;&lt;FONT color="#00ae00" face="Courier New"&gt;3.0&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New"&gt;in&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;noborder&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;IMAGEFMT&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt;=EMFdual; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New"&gt;ods&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;html&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;close&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New"&gt;ods&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;printer&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;printer&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt;=emfdual;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New"&gt;options&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;nodate&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;nonumber&lt;/FONT&gt; &lt;FONT color="#008080" face="Courier New"&gt;papersize&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt;=(&lt;/FONT&gt;&lt;FONT color="#00ae00" face="Courier New"&gt;4.8&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt;in &lt;/FONT&gt;&lt;FONT color="#00ae00" face="Courier New"&gt;3.0&lt;/FONT&gt;&lt;FONT color="#808080" face="Courier New"&gt;in);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080" face="Courier New"&gt;I still too much white space but the papersize seems to be working.&amp;nbsp; I can not get my grafout or file name to work.&amp;nbsp; Any suggestions on what might work?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080" face="Courier New"&gt;This is the error I am getting.&amp;nbsp; It still generates an emf though.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;NOTE: ODS PRINTER printed no output.&lt;/P&gt;&lt;P&gt;(This sometimes results from failing to place a RUN&lt;/P&gt;&lt;P&gt;statement before the ODS PRINTER CLOSE statement.)&lt;/P&gt;&lt;P&gt;381 ods graphics on / reset=all width=4.5in height=3.0in&lt;/P&gt;&lt;P&gt;381! noborder IMAGEFMT=EMFdual;&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;WARNING 1-322: Assuming the symbol EMF was misspelled as&lt;/P&gt;&lt;P&gt;EMFdual.&lt;/P&gt;&lt;P&gt;382 filename 'D:\Data\Whitney Parkhouse\SAS Programs\SAS Graph&lt;/P&gt;&lt;P&gt;382! Demo';&lt;/P&gt;&lt;P&gt;ERROR: Invalid logical name.&lt;/P&gt;&lt;P&gt;ERROR: Error in the FILENAME statement.&lt;/P&gt;&lt;P&gt;383 ods html close ;&lt;/P&gt;&lt;P&gt;384 ods printer printer=emfdual;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 22:50:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-EMF-Output-SAS-9-4/m-p/345581#M12012</guid>
      <dc:creator>Whitlea</dc:creator>
      <dc:date>2017-03-29T22:50:12Z</dc:date>
    </item>
  </channel>
</rss>

