BookmarkSubscribeRSS Feed
aravind
Fluorite | Level 6
Hi All,

I am trying to create a pdf report in SAS EG.

ods pdf file = "/abc/xyz/sample.pdf" notoc compress=0;
your procedure code;
ods pdf close;

when i run the above code in SAS EG 4.2 in a server environment, I am getting the following warning message in the log.
I am just wondering, if there is a way to avoid this warning message.

WARNING: Unsupported device 'ACTIVEX' for PDF destination. Using device 'ACTXIMG'.

Help will be appreciated.

thanks and regards
Aravind
3 REPLIES 3
Cynthia_sas
SAS Super FREQ
Hi:
This Tech Support note explains that message when it is issued for ODS LISTING:
http://support.sas.com/kb/31/619.html
where it says that:

This warning message is issued because the type of interactivity that is built into the ACTIVEX and JAVA device drivers is incompatible with the LISTING destination.


It is probably safe to assume that the type of interactivity provided with ACTIVEX is also incompatible with the PDF destination -- since the PDF file is supposed to be an image of what would otherwise be sent to a printer -- and there is no interactivity or clicking, changing or rotating on a printer.

If you have SAS/GRAPH code, do you also have a GOPTIONS statement in the SAS/GRAPH code??? If so, you might want to explicitly specify:
[pre]
GOPTIONS device=ACTXIMG;
[/pre]

..in order to avoid this warning in the future.

Reading the documentation on device-based graphics and the various image formats that are "acceptable" for each destination might be useful:
http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a003263978.htm (you will see here that ACTIVEX is not listed for the PDF destination) http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a003296192.htm

cynthia
aravind
Fluorite | Level 6
Hi Cynthia,

Thanks for the Reply and we dont have GRAPH installed in here.
Your solution works fine.
I was googling and found out other solution to remove this warning which is
In SAS EG by going to TOOLS------> OPTIONS--------->Graph. and in the right side panel
under Graph Format, if you select the ActiveX image (SAS V9) from the drop down list,
the warning will go off.
I've used this option and it worked.
But, since we didnt have GRAPH installed, is this change gonna cause any issuses?

Thanks & Regards
Aravind
Cynthia_sas
SAS Super FREQ
Hi:
You should be OK...the GOPTIONS statement is just populating a "list" of options that are checked when things start up. Either method should prevent the warning message.

cynthia

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 7484 views
  • 3 likes
  • 2 in conversation