File size: 450 Bytes
6a7089a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # PDF
Render the current page as a PDF.
```bash
curl "http://localhost:9867/pdf?output=file"
# CLI Alternative
pinchtab pdf -o page.pdf
# Response
{
"path": "/path/to/state/pdfs/page-20260308-120001.pdf",
"size": 48210
}
```
Useful flags:
- CLI: `-o`, `--tab`, `--landscape`, `--scale`
- API query: `output=file`, `raw`, `landscape`, `scale`, `paperWidth`, `paperHeight`
## Related Pages
- [Text](./text.md)
- [Screenshot](./screenshot.md)
|