I'm using SAS UE with windows.
Is there a way to change the default font size of reports displayed in the RESULTs tab?
My browser is customed to display PROGRAM code and LOG in a desired font size
but the report(s) are displayed in much smaller size. I would like to enlarge it.
If possible - how to do it?
Hi:
SAS UE is using a web browser with SAS Studio as the interface. You could try the standard ctrl-+ to make the results window bigger. That works for me in Chrome, but makes the entire browser screen and the output bigger.
Otherwise, you can make the results bigger with style overrides like this:
proc print data=sashelp.class
style(headers)={fontsize=12pt}
style(data)={fontsize=12pt};
run;
proc report data=sashelp.class
style(headers)={fontsize=12pt}
style(column)={fontsize=12pt};
run;
Changes like this will only work for PRINT, REPORT (and TABULATE). Otherwise, you need to change the style definition that's used for the output.
Hope this helps,
Cynthia
@andreas_lds , how do I change the default style in SAS UE?
@Shmuel wrote:
@andreas_lds , how do I change the default style in SAS UE?
I can't check this in UE-version of SAS Studio, but in the normal Studio you change the style via Settings / Results.
Hi:
SAS UE is using a web browser with SAS Studio as the interface. You could try the standard ctrl-+ to make the results window bigger. That works for me in Chrome, but makes the entire browser screen and the output bigger.
Otherwise, you can make the results bigger with style overrides like this:
proc print data=sashelp.class
style(headers)={fontsize=12pt}
style(data)={fontsize=12pt};
run;
proc report data=sashelp.class
style(headers)={fontsize=12pt}
style(column)={fontsize=12pt};
run;
Changes like this will only work for PRINT, REPORT (and TABULATE). Otherwise, you need to change the style definition that's used for the output.
Hope this helps,
Cynthia
@Cynthia_sas , it could be great if it was working, unfortunately I got an error:
74 proc print data=test3 label; 75 style(headers)={fontsize=12pt}; _____ 180 76 style(data)={fontsize=12pt}; _____ 180 ERROR 180-322: Statement is not valid or it is used out of proper order. 77 by mm;
@Cynthia_sas , you are right. it works fine.
I may define it as a macro variable to be used on every reporting step, BUT
Is there a way to define those styles as a default in the autoexec ?
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!
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.