<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error when using pdf security in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-when-using-pdf-security/m-p/516266#M22039</link>
    <description>&lt;P&gt;The problem has to be in your other code, as this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let orgid=1;

options pdfsecurity=HIGH pdfpassword=(owner="XXXX" open="XXXX&amp;amp;orgid.");

ods pdf file='$HOME/sascommunity/test.pdf';

proc print data=sashelp.class;
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;created a file that opened fine in Adobe Reader XI and Foxit Reader 7.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Nov 2018 10:10:40 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-11-27T10:10:40Z</dc:date>
    <item>
      <title>Error when using pdf security</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-when-using-pdf-security/m-p/516260#M22038</link>
      <description>&lt;P&gt;I have created a pdf using proc template with no errors, the document opens as expected.&amp;nbsp; However when I add in the following line of code, when opening the pdf I get an error message "An error exists on this page.&amp;nbsp; Acrobat may not display the page correctly."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options pdfsecurity=HIGH pdfpassword=(owner="XXXX" open="XXXX&amp;amp;orgid.");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas what could be causing this?&amp;nbsp; I use this line of code for another report with no problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;K&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 09:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-when-using-pdf-security/m-p/516260#M22038</guid>
      <dc:creator>kimdukes77</dc:creator>
      <dc:date>2018-11-27T09:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using pdf security</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-when-using-pdf-security/m-p/516266#M22039</link>
      <description>&lt;P&gt;The problem has to be in your other code, as this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let orgid=1;

options pdfsecurity=HIGH pdfpassword=(owner="XXXX" open="XXXX&amp;amp;orgid.");

ods pdf file='$HOME/sascommunity/test.pdf';

proc print data=sashelp.class;
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;created a file that opened fine in Adobe Reader XI and Foxit Reader 7.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 10:10:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-when-using-pdf-security/m-p/516266#M22039</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-27T10:10:40Z</dc:date>
    </item>
  </channel>
</rss>

