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;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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