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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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