Source Location: Program_Root/examples/example3.php
Here we create an encrypted PDF file based on a dynaically generated page.
We buffer the content of the page and then create the PDF at the end. Then we load up PDFEncryptor and set meta-data, password, and permissions.
require_once(__FILE__"/../PDFEncryptor.php") [line 9]