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.
Read the following link (Page 6 and 7). I hope this will help and good luck
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;
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.