LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 1996, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 18 Oct 1996 06:54:41 -0400
Reply-To:   Tra <Tra@PROTEUS.CO.UK>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
Comments:   RFC822 error: <W> More than one sender was specified. Second and following senders discarded.
From:   Tra <Tra@PROTEUS.CO.UK>
Subject:   Re: Export SAS graph to MS-Word or MS-Power Point
Comments:   To: Joe Lin <joelin@QNTM.COM>

Use a CGM device driver. Ring SAS Tech Supprot and they will send you details of which driver to use and how to set it up.

I use it and it works well.

Here is a macro I have used to set the goptions correctly, and select a filename for the cgm file.

%macro plotdev (device, filename, preview); %if %upcase(&device) = CGMMPPA %then %do; %if %quote(&filename) = %then %let filename = GRAPH.CGM; %if %index(&filename,.) = 0 %then %let filename = &filename..CGM; filename gsfname "&filename"; %put graphics output will be printed to &filename; goptions device = &device target = &device

htitle = 5 pct ftitle = HWCGM006 htext = 3 pct ftext = hwcgm005 gaccess = SASGASTD gsfname = gsfname gsfmode = replace; %end; %else %do; goptions device = &device target = &device; %end; %if %quote(&preview) ne %then %do; goptions device = win; %end; %mend plotdev;


Back to: Top of message | Previous page | Main SAS-L page