BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
SASGeek
Obsidian | Level 7

Hello all,

I'm hoping you might be able to help me with the following issue. I'm trying to recreate a report that resembles pg 5 of Microsoft Word - 313-2009.docx (lexjansen.com) (The Power to Show: Ad Hoc Reporting, Custom Invoices, and Form Letters by Daniel O’Connor, SAS Institute Inc.)

 

What's getting me are:

1. I'm using SAS EG with output to PDF so I must use GRIDDED layout

2. I can't get the heading to work for me. I get both but the image is huge and I want the text to be along side, to the right of, the image. I'm shooting for about a .75in header height. How do I make the image fit a smaller area?

 

Could someone point me to a similar paper that uses GRIDDED layout with examples (my brain is fried looking at this)? I've seen many with absolute but I'm not sure what to do to convert to GRIDDED. Also, here's just my heading code that's not working. Can someone please help?

 

Thank you so very much!

 

options orientation = portrait
papersize = letter
nodate
nonumber
topmargin = .001in
bottommargin = .001in
leftmargin = .001in
rightmargin = .001in;
ods noproctitle;
ods escapechar = "^";
title;
footnote;

ods pdf file="/sasdata/team_files/testing.pdf" ;

ods layout start columns = 2;
ods text = "^{style[preimage='/sasdata/team_files/logo_on_blue.jpg']}";

ods text = "^{style[fontsize=20pt just=left fontweight=bold] Departmental Information}";


ods layout end;
ods pdf close;

 

 

Paula

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ger15xxhcker
Quartz | Level 8

maybe try this way:

 

options orientation = portrait
papersize = letter
nodate
nonumber
topmargin = .75in
bottommargin = .001in
leftmargin = .001in
rightmargin = .001in;
ods noproctitle;
ods escapechar = "^";
title;
footnote;
ods pdf file="/sasdata/team_files/testing.pdf" GRIDDED;
ods layout grids=off;

ods text = "^{style[preimage='/sasdata/team_files/logo_on_blue.jpg']}";
ods text = "^{style[fontsize=20pt just=left font_weight=bold]}Departmental Information";
ods layout end;
ods pdf close;

View solution in original post

1 REPLY 1
ger15xxhcker
Quartz | Level 8

maybe try this way:

 

options orientation = portrait
papersize = letter
nodate
nonumber
topmargin = .75in
bottommargin = .001in
leftmargin = .001in
rightmargin = .001in;
ods noproctitle;
ods escapechar = "^";
title;
footnote;
ods pdf file="/sasdata/team_files/testing.pdf" GRIDDED;
ods layout grids=off;

ods text = "^{style[preimage='/sasdata/team_files/logo_on_blue.jpg']}";
ods text = "^{style[fontsize=20pt just=left font_weight=bold]}Departmental Information";
ods layout end;
ods pdf close;

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 581 views
  • 0 likes
  • 2 in conversation