from ironpdf import * # Instantiate Renderer renderer = ChromePdfRenderer() """ Cover Page """ # Created Sample Cover using RenderHtmlAsPdf method cover = renderer.RenderHtmlAsPdf("<h1> This is Cover Page</h1>") """ Main Document """ # As we have a Cover Page, we're going to start the page numbers at 2. renderer.RenderingOptions.FirstPageNumber = 2 # Set up headers and footers # ...not included in the example # Downloaded & Converted to PDF in Just One Line! pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf/") # Only ONE Line command to merge two PDFs. PdfDocument.Merge(cover, pdf).SaveAs("combined.pdf")