Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.d.ts";
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.