BookmarkSubscribeRSS Feed
MikeZdeb
Rhodochrosite | Level 12

hi ... is there any way to alter the properties (title, author, subject , keywords) of an already existing PDF file by just using SAS code

1 REPLY 1
Cynthia_sas
Diamond | Level 26

Hi:

  PDF is an Adobe proprietary format. I'm not sure whether you can alter that information with a SAS program without corrupting the PDF file. I know how to set those attributes as you create the file.

  

  Maybe you can use an Adobe product to change those document properties?

cynthia

  

ods pdf file='c:\temp\make_info.pdf'

        title='My Title' author='Ima Writer'

        keywords='Students, School, Demographics'

        subject='My Report';

proc print data=sashelp.class;

run;

ods pdf close;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 1 reply
  • 1120 views
  • 0 likes
  • 2 in conversation