pdf generated on demand in RPM