Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODS PDF 1

Status
Not open for further replies.

DanJR

Technical User
Oct 29, 2002
392
AU
I trying to create a report in sas that outputs the results to pdf. This works fine, but i want to customise the way the bookmarks (LHS of the adobe pdf viewer) look.

At the moment, i produce a series of PROC FREQ's and have the bookmark show the name of the variable. Currently the bookmark looks like this:
[tt]
activity_addicted_tv
Table response_Label
One -Way Frequencies
activity_weekday_tv
Table response_Label
One -Way Frequencies
etc...
[/tt]
where "activity_addicted_tv" and "activity_weekday_tv" are variable names. Want I want is for the bookmark not to show 'notes' ie to look like this:
[tt]
activity_addicted_tv
activity_weekday_tv
etc...
[/tt]

Apparently I can use the NOPDFNOTES option but this isn't working!!!! Does any one know why not, or how i can get the bookmark to display how i want it to?

a snippet of my code is:
Code:
* produce frequency of responses for each question code;
ODS PDF FILE="myFile.pdf" [COLOR=red]NOPDFNOTE[/color];
ODS PROCLABEL "my label"; 

proc freq data = natdes.survey_data order=data;
  title  "title 1";
  title2 "title 2";
  table response_label / missing;
  where question_code = "my_question";
run;	

ODS PDF CLOSE;


I've tried
Code:
ODS PRINTER pdfmark FILE="myFile.pdf" NOPDFNOTE;
But that didn't work either. The code produces the pdf ok and i don't get any errors

cheers,
dan.
 
Thanks Chris for the links. I've already read the first one, and the second showed some ods options that i haven't seen before, but didn't end up helping. However, it did help learn a little more about ods

Perhaps it will only work for the acrobat distiller driver(?).

Cheers,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top