BookmarkSubscribeRSS Feed
Takamini
Calcite | Level 5

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?)

2 REPLIES 2
ballardw
Super User

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;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1579 views
  • 0 likes
  • 2 in conversation