Date: Tue, 17 Sep 1996 10:44:34 +0000
Reply-To: wood-st@cityscape.co.uk
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Philip & Esther Mason <wood-st@CITYSCAPE.CO.UK>
Subject: Problem: Printing graphics object in landscape
Using SAS/AF, frame, SAS 6.11 ts040 under windows 95 & windows 3.1
Problem
-------
When I print text it prints in portrait - which is what I want. When
I print graphics using the _print_ method from a graphics object it
also prints in portrait and hence the aspect ratio is wrong and the
graph looks strange.
I would like to be able to print graphs from the graphics object in
landscape. Or if this is not possible then at least to be able to use
the correct aspect ratio and so only use half a portrait page.
Things I have tried, which failed
---------------------------------
(1) goptions rotate - this worked in 6.10, but does not in 6.11.
(2) Replicate the graph with sas/graph and rotate using goptions and
print - this works but the graph doesnt look similar enough to the
one on screen, especially when using 3d graphs
(3) I tried to find a way to programmatically alter the orientation
of the printer, but this seems to not be possible.
(4) I considered replicating the graph with DSGI but this seems too
involved and will need maintenance.
(5) Tried exporting to MS word and then printing, but there seems to
be some problems with exporting graphics objects to ms word in that
some parts of the graph are clipped.
(6) Manually altered default orientation to landscape - this is OK
for graphs, but then all text is in landscape too.
Does anyone have a solution or any other ideas?
thanks
Phil
-----------------------------------------------------------+
! Philip Mason Email: wood-st@cityscape.co.uk !
! Freelance SAS Consultant, !
! SUGI 22 Applications Development co-chair !
+----------------------------------------------------------+
! SAS Tips Book coming out in September '96 !
! available from SAS Institute "Books By Users" !
+----------------------------------------------------------+
! 16 Wood Street, Wallingford, OXON., OX10 0AY, England !
! Phone/Fax: +44 1491 824905 !
-----------------------------------------------------------+