php - Textarea and input text is editable when using HTML2PDF plugin -


i using htl2pdf plugin .

my problem texarea , pdf editable in pdf recieve

my code follow

require_once(app_path().'/libs/html2pdf/html2pdf.class.php');          $html2pdf = new html2pdf('p','a4','en');            $html2pdf->pdf->setdisplaymode('fullpage');            $html2pdf->writehtml($html22);            $htmltosend=$html2pdf->output('','s'); 

is there way can stop converting editable pdf

if understand correctly, want create pdf, should not editable? use setprotection like:

$html2pdf->pdf->setprotection(array('print'), ''); 

you can find further information @ http://wiki.spipu.net/doku.php?id=html2pdf:en:v4:protect. if use empty permissions array, viewing not printing allowed. possible values permissions are:

  • copy: copy text , images clipboard
  • print: print document
  • modify: modify (except annotations , forms)
  • annot-forms: add annotations , forms

Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -