<titledata-rh="true">Page.createPDFStream() method | Puppeteer</title><metadata-rh="true"name="twitter:card"content="summary_large_image"><metadata-rh="true"property="og:url"content="https://puppeteer.github.io/puppeteer/api/puppeteer.page.createpdfstream"><metadata-rh="true"name="docusaurus_locale"content="en"><metadata-rh="true"name="docsearch:language"content="en"><metadata-rh="true"name="docusaurus_version"content="current"><metadata-rh="true"name="docusaurus_tag"content="docs-default-current"><metadata-rh="true"name="docsearch:version"content="current"><metadata-rh="true"name="docsearch:docusaurus_tag"content="docs-default-current"><metadata-rh="true"property="og:title"content="Page.createPDFStream() method | Puppeteer"><metadata-rh="true"name="description"content="Generates a PDF of the page with the print CSS media type."><metadata-rh="true"property="og:description"content="Generates a PDF of the page with the print CSS media type."><linkdata-rh="true"rel="icon"href="/puppeteer/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://puppeteer.github.io/puppeteer/api/puppeteer.page.createpdfstream"><linkdata-rh="true"rel="alternate"href="https://puppeteer.github.io/puppeteer/api/puppeteer.page.createpdfstream"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://puppeteer.github.io/puppeteer/api/puppeteer.page.createpdfstream"hreflang="x-default"><linkrel="stylesheet"href="/puppeteer/assets/css/styles.d5636e50.css">