Generate pdf into shared folder