title: tcpdf print option enable in pdf file codeigniter
body: <pre><code>$pdf-&gt;SetProtection($permissions=array('print', 'copy'),
  $user_pass=$otp, $owner_pass=$otp, $mode=0, $pubkeys=null);
  </code></pre>
  
  <p>I have generated the PDF file using TCPDF in Codeigniter. Print option was enable by using above code but it's not working? Why? please help me.</p>