BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
GreggB
Pyrite | Level 9
Should I take this post down?
Reeza
Super User
Nope, I've already moved it 😉
PaigeMiller
Diamond | Level 26

Use the COLOR= option in the ODS PDF statement.

 

 

--
Paige Miller
DanH_sas
SAS Super FREQ

As @PaigeMiller pointed out earlier, use DATACOLORS instead of DATACONTRASTCOLORS. DATACOLORS are for filled areas. DATACONTRASTCOLORS are for lines and markers. DATACONTRASTCOLORS would affect only the outlines of the bars.

 

I'm not sure of the environment of the environment you're running. Is this in Display Manager, SAS Studio, or Enterprise Guide? If it is the last two, you have to ne very careful in how you use ODS destination statements. Let us know which is your environment.

GreggB
Pyrite | Level 9

I'm running  9.4 on a Windows laptop

 

NOTE: This session is executing on the X64_10PRO  platform.



NOTE: Updated analytical products:

      SAS/STAT 14.3

NOTE: Additional host information:

 X64_10PRO WIN 10.0.18362  Workstation

NOTE: SAS initialization used:
      real time           1.38 seconds
      cpu time            0.99 seconds
GreggB
Pyrite | Level 9
I used DATACOLORS instead. the outlines appear to be gone but the basic problem remains.
Reeza
Super User

Maybe the same solution as almost five years ago 😉

https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-output-gives-no-color/td-p/309798

 

EDIT: I suspect you have some old programs that turn that option on/off. I would recommend not touching it in future programs because the default is fine.

 

options colorprinting=yes;
GreggB
Pyrite | Level 9
DING DING! (not embarrassed)
Reeza
Super User
There are some obscure options out there.....I didn't recall this one either if that helps, search for the win!

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 23 replies
  • 3441 views
  • 8 likes
  • 4 in conversation