<?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: Posting SAS/Graph output into Word in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Posting-SAS-Graph-output-into-Word/m-p/1679#M100</link>
    <description>Paula:&lt;BR /&gt;
  I think that the ACTXIMG driver output looks good in Word, if you are using RTF. If you use any of the CGM drivers, you may have to install some import filter in Word.&lt;BR /&gt;
   &lt;BR /&gt;
  Basically, it's try and see what works best for you. You can also explore the FONTREG procedure and get yourself to the point where you can use TrueType fonts in your output -- that may also improve the way the output looks. But try the ACTXIMG driver first.&lt;BR /&gt;
cynthia&lt;BR /&gt;
    &lt;BR /&gt;
(Here's a utility macro program that will let you compare ACTXIMG with all the other RTF-friendly drivers.)&lt;BR /&gt;
 &lt;BR /&gt;
[pre]&lt;B&gt;&lt;BR /&gt;
%macro testgraf(drive=, fname=);&lt;BR /&gt;
options nomlogic nosymbolgen;&lt;BR /&gt;
ods rtf file="&amp;amp;fname..rtf" style=analysis;&lt;BR /&gt;
 &lt;BR /&gt;
%if &amp;amp;drive = actximg %then %do;&lt;BR /&gt;
   %let tl ='Actximg driver uses style template colors';&lt;BR /&gt;
%end;&lt;BR /&gt;
%else %do;&lt;BR /&gt;
   %let tl = "&amp;amp;drive driver uses goptions colors";&lt;BR /&gt;
%end;&lt;BR /&gt;
 &lt;BR /&gt;
goptions reset=all device=&amp;amp;drive;&lt;BR /&gt;
proc gchart data=sashelp.shoes;&lt;BR /&gt;
title &amp;amp;tl;&lt;BR /&gt;
  where region in ('Asia', 'Pacific', 'Canada');&lt;BR /&gt;
  vbar3d region /sumvar=sales type=mean&lt;BR /&gt;
                 name="&amp;amp;fname";&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
title;&lt;BR /&gt;
ods rtf close;&lt;BR /&gt;
%mend testgraf;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=actximg, fname=actximg);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=emf, fname=emf);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=png, fname=png);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=cgm, fname=cgm);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=CGMOFML, fname=CGMOFML);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=CGMOFMP, fname=CGMOFMP);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;/B&gt;[/pre]</description>
    <pubDate>Wed, 08 Nov 2006 18:07:59 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2006-11-08T18:07:59Z</dc:date>
    <item>
      <title>Posting SAS/Graph output into Word</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Posting-SAS-Graph-output-into-Word/m-p/1678#M99</link>
      <description>Hello all,&lt;BR /&gt;
I am having a heck of a time getting quality output from SAS/GRAPH and importing that into Word. I've tried various drivers, ODS for RTF, and the stuff mentioned in TS674 and it's still not as nice as what can be generated in native MS Excel. My biggest issue is with the fonts. They come out resembling something that my line printer/dot matrix used to generate. All I want is to generate a graph and then import it into WORD, sometimes as a stand alone page, sometimes within a document. When I generate the output in PDF it's fantastic but as far as I know, you can't import PDF directly into Word.&lt;BR /&gt;
&lt;BR /&gt;
Since I'm new to this graphing stuff, please let me know what combinations have worked for you! As reference, I'm using SAS 9.1.3 SP4 and WORD 2002.&lt;BR /&gt;
&lt;BR /&gt;
Thank you so much&lt;BR /&gt;
&lt;BR /&gt;
Paula</description>
      <pubDate>Mon, 30 Oct 2006 21:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Posting-SAS-Graph-output-into-Word/m-p/1678#M99</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-10-30T21:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Posting SAS/Graph output into Word</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Posting-SAS-Graph-output-into-Word/m-p/1679#M100</link>
      <description>Paula:&lt;BR /&gt;
  I think that the ACTXIMG driver output looks good in Word, if you are using RTF. If you use any of the CGM drivers, you may have to install some import filter in Word.&lt;BR /&gt;
   &lt;BR /&gt;
  Basically, it's try and see what works best for you. You can also explore the FONTREG procedure and get yourself to the point where you can use TrueType fonts in your output -- that may also improve the way the output looks. But try the ACTXIMG driver first.&lt;BR /&gt;
cynthia&lt;BR /&gt;
    &lt;BR /&gt;
(Here's a utility macro program that will let you compare ACTXIMG with all the other RTF-friendly drivers.)&lt;BR /&gt;
 &lt;BR /&gt;
[pre]&lt;B&gt;&lt;BR /&gt;
%macro testgraf(drive=, fname=);&lt;BR /&gt;
options nomlogic nosymbolgen;&lt;BR /&gt;
ods rtf file="&amp;amp;fname..rtf" style=analysis;&lt;BR /&gt;
 &lt;BR /&gt;
%if &amp;amp;drive = actximg %then %do;&lt;BR /&gt;
   %let tl ='Actximg driver uses style template colors';&lt;BR /&gt;
%end;&lt;BR /&gt;
%else %do;&lt;BR /&gt;
   %let tl = "&amp;amp;drive driver uses goptions colors";&lt;BR /&gt;
%end;&lt;BR /&gt;
 &lt;BR /&gt;
goptions reset=all device=&amp;amp;drive;&lt;BR /&gt;
proc gchart data=sashelp.shoes;&lt;BR /&gt;
title &amp;amp;tl;&lt;BR /&gt;
  where region in ('Asia', 'Pacific', 'Canada');&lt;BR /&gt;
  vbar3d region /sumvar=sales type=mean&lt;BR /&gt;
                 name="&amp;amp;fname";&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
title;&lt;BR /&gt;
ods rtf close;&lt;BR /&gt;
%mend testgraf;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=actximg, fname=actximg);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=emf, fname=emf);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=png, fname=png);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=cgm, fname=cgm);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=CGMOFML, fname=CGMOFML);&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
%testgraf(drive=CGMOFMP, fname=CGMOFMP);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;/B&gt;[/pre]</description>
      <pubDate>Wed, 08 Nov 2006 18:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Posting-SAS-Graph-output-into-Word/m-p/1679#M100</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2006-11-08T18:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Posting SAS/Graph output into Word</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Posting-SAS-Graph-output-into-Word/m-p/1680#M101</link>
      <description>I use the png driver and some sizing options for a gslide that goes to powerpoint.  I just tried it in word and that works too.  This can also be done for a graph.  Code below.  To get it into word, use Insert, Object, Create from File ...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
goptions reset=all&lt;BR /&gt;
         dev=png&lt;BR /&gt;
         display&lt;BR /&gt;
         rotate=landscape&lt;BR /&gt;
         ftext="helvetica"&lt;BR /&gt;
         htext=2.0&lt;BR /&gt;
;&lt;BR /&gt;
goptions xmax=6in ymax=3.5in xpixels=1800 ypixels=1050;&lt;BR /&gt;
&lt;BR /&gt;
filename grf1 '\\technology\qualsysshare\groupspecific\reportsmonthly\reapcovr.png';&lt;BR /&gt;
&lt;BR /&gt;
proc gslide frame lframe=14 wframe=20 cframe=steel;&lt;BR /&gt;
note h=4;&lt;BR /&gt;
note h=8 j=c "PRODUCT QUALITY REPORT";&lt;BR /&gt;
note h=2;&lt;BR /&gt;
note h=4 j=c 'for Company INC.';&lt;BR /&gt;
note h=2;&lt;BR /&gt;
note h=28 j=c c=red 'Diverts';&lt;BR /&gt;
note h=2;&lt;BR /&gt;
note h=6 j=c "To end of &amp;amp;mnthyr";&lt;BR /&gt;
note h=3;&lt;BR /&gt;
note h=2 j=c 'Prepared by';&lt;BR /&gt;
note h=2;&lt;BR /&gt;
note h=3 j=c 'JDA';&lt;BR /&gt;
note h=3 j=c 'WD';&lt;BR /&gt;
note h=2;&lt;BR /&gt;
note h=3 j=c 'Quality Systems';&lt;BR /&gt;
note h=3 j=c 'Company INC.';&lt;BR /&gt;
note h=3 j=c "&amp;amp;sysdate";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
quit;</description>
      <pubDate>Wed, 10 Jan 2007 16:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Posting-SAS-Graph-output-into-Word/m-p/1680#M101</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2007-01-10T16:20:18Z</dc:date>
    </item>
  </channel>
</rss>

