Printly
Your content, perfectly printed. Instantly convert any webpage or HTML into a high-quality PDF.
API Usage
Generate PDFs programmatically by sending a POST request to our API endpoint.
curl -X POST 'https://<your-app-url>/api/print' \
-H 'Content-Type: application/json' \
-d '{
"sourceType": "url",
"url": "https://example.com",
"pageSize": "A4",
"margins": "1cm",
"orientation": "portrait"
}'The body can contain either a `url` or `html` key, along with the desired customization options. Set `sourceType` to `"url"` or `"html"` accordingly.