New command to generate PDFs