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

Can anyone tell me how to increase the font of the output pdf file in the following code:

 

ODS pdf file= "C:\Desktop\Calendar.pdf" ;

TITLE "Report Calendar" ;

options orientation=landscape nocenter nonumber nodate linesize=180;

PROC CALENDAR DATA=Calendar holidata=holidays formchar(12 13)=' ';

START Date;

DUR Length;

VAR Task;

outstart monday;

outfin friday;

holistart HolidayDate;

holivar Holiday;

RUN;

ods pdf close;

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26
Hi:
I'm not sure why it matters or why you would want to increase the font size. Most PDF viewers have a ZOOM capability, so you can use whatever font_size you need to fit the physical page for printing and then let each person use a ZOOM on the PDF file to make the PDF the size they want.

Otherwise, you need to change the BATCH style element in a STYLE template to change the font_size and then use the new STYLE template with the ODS PDF statement.

Cynthia

View solution in original post

1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
I'm not sure why it matters or why you would want to increase the font size. Most PDF viewers have a ZOOM capability, so you can use whatever font_size you need to fit the physical page for printing and then let each person use a ZOOM on the PDF file to make the PDF the size they want.

Otherwise, you need to change the BATCH style element in a STYLE template to change the font_size and then use the new STYLE template with the ODS PDF statement.

Cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 815 views
  • 1 like
  • 2 in conversation