Print pdf controller and app