BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Shmuel
Garnet | Level 18

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

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

View solution in original post

8 REPLIES 8
andreas_lds
Jade | Level 19
Maybe switching default style to Sapphire solves the issue.
Shmuel
Garnet | Level 18

@andreas_lds , how do I change the default style in SAS UE?

andreas_lds
Jade | Level 19

@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.

Cynthia_sas
SAS Super FREQ

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

Shmuel
Garnet | Level 18

@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
SAS Super FREQ
Hi: Compare your code to my code. The 2 style overrides belong as options on the PROC PRINT statement. Look where I have my semi-colon and compare it to where you have yours. Take off the semi after Label and it should work for you.
Cynthia
Shmuel
Garnet | Level 18

@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 ?

Cynthia_sas
SAS Super FREQ
Every destination has a default style that it uses. If you're using EG, you can specify the default style to use for a destination. Not exactly the same as doing it it in an autoexec. There may be a registry way to do it. But I don't mess with the registry so that is a question for Tech support.
Cynthia

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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