BookmarkSubscribeRSS Feed
CrystalHeart
Calcite | Level 5
I have a report that needs to be output to PDF file. The text and retrieved variables' values need to be set at specific fonts and colors freely. This setting may change piece by piece in the same line. All the pieces are 'put' together at specific positions.

How to set the fonts and colors for each pieces like this?

Thank you for your help very much before hand.

Crystal Heart
3 REPLIES 3
Tim_SAS
Barite | Level 11
A lot depends on how you're producing the report. PROC REPORT? PRINT? Something else?
CrystalHeart
Calcite | Level 5
I suppose to use Macro to retrieve the variables' values and use print and put options in data steps to write to the report.

Thanks for your attention.
Ksharp
Super User
You need to post some dummy data and explain the output you want.
Best way to get answer is to give us an example.
I think you can use data step and traffic light .

Ksharp

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 3 replies
  • 1740 views
  • 0 likes
  • 3 in conversation