Use HTML-to-PDF
- You control the HTML input.
- Print CSS and page breaks matter.
- External resource policy can be bounded.
Tool comparison
HTML-to-PDF preserves print layout from controlled uploaded or pasted HTML. Screenshot-to-PDF is a visual capture workflow and should not be confused with semantic PDF rendering.
Decision
Avoid
Do not use arbitrary URL capture in v1 HTML-to-PDF; use uploaded or pasted HTML with external network loading blocked.
Tools