|
Download docs/reference/pdf.md from AUXteam/pinch: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/pdf.md
- Command line
-
hf download hf://spaces/AUXteam/pinch/docs/reference/pdf.md
-
curl -L -o pdf.md https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/pdf.md
450 Bytes
| 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) | |