BookmarkSubscribeRSS Feed
Nehemiah
Calcite | Level 5

Hi All

 

    Please find the attached pdf output generated by SAS Studio version 3.6 and the code used is given below.

 

 

data one;
set sashelp.cars (keep= Model Type Origin);
run;

 

ods pdf file= "xxx/test.pdf" ;
proc print data=one;
run;

ods pdf close;

 

 

the problem i faced was the pdf generated was not searchable .so please give a solution to this problem.

 

thanks in advance.

 

Regards,

Nehemiah

2 REPLIES 2
Cynthia_sas
Diamond | Level 26

Hi:

  That is not what I observe. When I run your code, in SAS 9.4M5, the PDF file that I get is searchable using the Ctrl+F function in Acrobat Reader:

1) looking for string RS 6 string is found on obs 21

search_1.png

 

2) looking for string Park Avenue string is found on obs 54

search_2.png

 

As you can see, in both searches, the string I was looking for was found and the first instance highlighted.

 

Cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1371 views
  • 0 likes
  • 3 in conversation