Hi, I've used the 2nd data step version.. Thanks againg! This is the code i finally used: ods pdf file="C:\temp - &fdate .pdf" ; title "^S={font_size=14pt} Report - &fdate ^S={}"; ods escapechar='^'; ods pdf text = "^{style[just=right preimage='C:\Users\Public\Pictures\Sample Pictures\tempPIC.png']}"; data _null_; set WORK.temp_report; length printLine $ 900; printLine = catx(" ",'Area: ', Region,' -> ', 'Country: ',Country , ' -> ', 'Account: ', Account); rc = dosubl(cats("ods pdf text=", quote(strip(printLine)), ";") ); printLine = catx(" ",'Ammount: ', put(Amount,dollar15.2) ); rc = dosubl(cats("ods pdf text=", quote(strip(printLine)), ";") ); printLine = catx(" ", 'Date Started: ', put(Delivered, date9.)); rc = dosubl(cats("ods pdf text=", quote(strip(printLine)), ";") ); printLine = catx(" ", Last_Update_Text); rc = dosubl(cats("ods pdf text=", quote(strip(printLine)), ";") ); printLine = catx(" ",'--------------------------------------'); rc = dosubl(cats("ods pdf text=", quote(strip(printLine)), ";") ); run; ods pdf close;
... View more