Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Page.PrintToPDFResponse
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { PrintToPDFResponse } = Protocol.Page;

Properties

data: string

Base64-encoded pdf data. Empty if |returnAsStream| is specified.

optional
stream: IO.StreamHandle

A handle of the stream that holds resulting PDF data.