pdf generation activated