Create Directive to Previe PDF's