Convert a Web Page URL to a PDF File
With the Flex.io API, you can quickly read a Web Page URL and render it into a PDF file; then copy to a file store.
This template shows how to generate a snapshot of a webpage as a PDF file. The pipe takes the URL for a webpage, renders it as a PDF and returns the PDF file.
render() task provides a simple way to create a snapshot of a webpage as a PDF file. Common uses for this include:
- Generating a PDF version of an analytic report or dashboard that can be emailed or downloaded
- Setting up an automated PDF capture process to create a historical archive for a website
- Creating a PDF reports from your data using CSS
Specify the PDF paper size
Render a webpage as a PDF and send it as an email attachment.