Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface default.Page.PrintToPDFResponse
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { PrintToPDFResponse } = default.Page;

Properties

data: string

Base64-encoded pdf data. Empty if |returnAsStream| is specified. (Encoded as a base64 string when passed over JSON)

optional
stream: IO.StreamHandle

A handle of the stream that holds resulting PDF data.