[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [PrintToPDFResponse](./puppeteer.protocol.page.printtopdfresponse.md) ## Protocol.Page.PrintToPDFResponse interface Signature: ```typescript export interface PrintToPDFResponse ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [data](./puppeteer.protocol.page.printtopdfresponse.data.md) | string | Base64-encoded pdf data. Empty if \|returnAsStream\| is specified. | | [stream](./puppeteer.protocol.page.printtopdfresponse.stream.md) | [IO.StreamHandle](./puppeteer.protocol.io.streamhandle.md) | A handle of the stream that holds resulting PDF data. |