The SAS Output Delivery System and reporting techniques

ods pdf text and justify

Accepted Solution Solved
Reply
Contributor
Posts: 35
Accepted Solution

ods pdf text and justify

Tried lots of stuff, but can't figure out why this is center justified, and not left justified?

 

 

ods pdf file = "C:\temp\test.pdf" ;

ods layout gridded columns=1 rows=1;
ods region;
ODS escapechar="^";
ods pdf text ="^S={just = left} Schools";
ods layout end;

ods pdf close;

 

 

thanks,

Dave


Accepted Solutions
Solution
‎12-06-2017 08:50 AM
Contributor
Posts: 35

Re: ods pdf text and justify

Figured it out - need to remove the "gridded" piece from the ods layout statement (along with the columns= and rows=)

View solution in original post


All Replies
Super User
Posts: 20,730

Re: ods pdf text and justify

That's weird the standard behaviour is for it to appear left by default. 

 

Even in the examples that's how it works:

http://documentation.sas.com/?docsetId=odsug&docsetTarget=p14gx25pepks6dn1q9m7vkq3gfoi.htm&docsetVer...

 

In this case they use PROC TEMPLATE to customize it, not sure that's an option for you. 

Contributor
Posts: 35

Re: ods pdf text and justify

thanks for the suggestion - I've got 10+ layouts, with multiple regions, so didn't want to mess with proc template.

Dave

Solution
‎12-06-2017 08:50 AM
Contributor
Posts: 35

Re: ods pdf text and justify

Figured it out - need to remove the "gridded" piece from the ods layout statement (along with the columns= and rows=)

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 208 views
  • 0 likes
  • 2 in conversation