pdf generator in rt plugin