BookmarkSubscribeRSS Feed
Jaime
Fluorite | Level 6

Hi,

I am trying to generate a set of PDFs with an image/logo on the top of the page(header) and the bottom(footer).

I also want the images printed even if the pdf has no data, so the SystemTitle class in proc Template did not help me.

Is there a way around this? Can’t find much in way of documentation, but I might not be searching for the correct terms.

2 REPLIES 2
Hima
Obsidian | Level 7

Read the following link (Page 6 and 7). I hope this will help and good luck

http://www2.sas.com/proceedings/sugi26/p003-26.pdf

Pallav
Calcite | Level 5

Try this...

ods pdf file = 'test.pdf';

ods escapechar = '^';

* Your image has to be of proper size;

* you can also make logo left or right justify;

title "^S={preimage='C:\Users\sas.jpg'}";

proc print data = sashelp.class;

run;

ods pdf close;

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

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
  • 2 replies
  • 1540 views
  • 0 likes
  • 3 in conversation