Generate command now creates a multi-page PDF.