| Date: | Mon, 31 Mar 2008 08:35:36 -0500 |
| Reply-To: | mpajoh@ODOT.ORG |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Masuod Pajoh <mpajoh@ODOT.ORG> |
| Subject: | Re: ODS question |
| In-Reply-To: | <71acbd2e-eb85-4d11-80cc-5df35f026248@y24g2000hsd.googlegroups.com> |
| Content-Type: | text/plain; charset="US-ASCII" |
|---|
This will work only and only if always two outputs fit on one page.
This certainly is the case in the simplified example I gave. But, in the
real situation I am in, this not the case.
Also, for example if the data set printed has only one observation I want
the next print start at the bottom half of the page.
All the same, thanks for the suggestion.
Masoud.
Scott Barry <sbarry@SBBWORKS.COM>
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
03/28/2008 10:22 PM
Please respond to
sbarry@SBBWORKS.COM
To
SAS-L@LISTSERV.UGA.EDU
cc
Subject
Re: ODS question
On Mar 28, 5:12 pm, mpa...@ODOT.ORG (Masuod Pajoh) wrote:
> This code:
> data test test1;
> do i= 1 to 10;
> x= log(i);
> y= x ** 2;
> z= x + 3;
> k= x * 4;
> p= x -4;output;
> end;
> run;
>
> options leftmargin="1 cm" rightmargin="1 cm" topmargin="1 cm"
> bottommargin="1 cm" ps=60 ls=70
> missing=' ' orientation=landscape center nodate nonumber
> nobyline;
> ods pdf file='C:\Test.pdf' notoc
> style=Styles.CompareResult
> uniform
> ;
> ods escapechar ='^';
> ods listing close;
> proc print; title "i vs. x"; var i x; run;
> proc print; title "i vs. y"; var i y; run;
> proc print; title "i vs. z"; var i z; run;
> proc print; title "i vs. k"; var i k; run;
> proc print; title "i vs. p"; var i p; run;
>
> ods pdf close;
> options byline;
> quit;
>
> produces 5 pages of output. i.e. one for each proc print.
>
> How can I split the page into top half and bottom half, so that the
output
> is only three pages, i.e 2 output per page.
> I am guessing this can be done with regions, but i have never used it.
>
> Thanks,
> Masoud
Consider the keyword STARTPAGE=NO.
Scott Barry
SBBWorks, Inc.
|