ability to pass in custom pdf settings