Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method Page.prototype.createPDFStream
Re-export
import { Page } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";

Generates a PDF of the page with the print CSS media type.

Parameters

optional
options: PDFOptions
  • options for generating the PDF.