Write and run SAS programs in your web browser

How to use SAS studio to print out pdf/rtf with horizontal format

Reply
Occasional Contributor
Posts: 10

How to use SAS studio to print out pdf/rtf with horizontal format

[ Edited ]

I'd like to use SAS studio to print out pdf/rtf with horizontal format

Should I edit my code in below posiotion :

 

options nodate nonumber papersize=A4 topmargin="0.25in" leftmargin="0.25in" bottommargin="0.25in" rightmargin="0.25in" missing=' ';

ods proclabel="Statistical Report: Listing";
ods document name=WORK.CONTENTS(write);

 

etc...

 

 

ods rtf file="&outpath\Listing_&time..rtf" style=Styles.mystyle ;
ods printer pdf file="&outpath\Listing_&time..pdf" style=Styles.mystyle; ods escapechar='^'; footnote3 j=l;footnote4 j=l;replay;run;
ods printer pdf close;
ods rtf close;
quit;

 

or should I change my settup of sas studio (maybe to change the default in preference?)

Super User
Posts: 10,846

Re: How to use SAS studio to print out pdf/rtf with horizontal format

By horizontal format do you mean what is usually referred to as LANDSCAPE page orientation with the data printed parallet to the long side of the page?

 

Options orientation=landscape;

Occasional Contributor
Posts: 10

Re: How to use SAS studio to print out pdf/rtf with horizontal format

Yes! thank you!

Ask a Question
Discussion stats
  • 2 replies
  • 119 views
  • 0 likes
  • 2 in conversation