print_to_pdf
Turn any webpage into a PDF file with adjustable print options for scale, orientation, paper size, and backgrounds.
Instructions
Print the current page to PDF
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale (0.1-2) | |
| tabId | No | Tab ID (optional) | |
| landscape | No | Landscape orientation | |
| paperWidth | No | Paper width in inches | |
| paperHeight | No | Paper height in inches | |
| printBackground | No | Print background graphics | |
| displayHeaderFooter | No | Display header/footer |