A Docker image action that converts HTML pages to PDF files using PDFix SDK and Google Headless Chrome.
To use this Docker application, you'll need to have Docker installed on your system. If Docker is not installed, please follow the instructions on the official Docker website to install it.
To run docker container as CLI you should share the folder with html file to process using -i
parameter. In this example it's current folder. The url can be local html file or URL address.
docker run -v $(pwd):/data/ -w /data/ pdfix/html-to-pdf:latest html-to-pdf -i index.html -o convert.pdf
With PDFix License add these arguments.
--name ${LICENSE_NAME} --key ${LICENSE_KEY}
First run will pull the docker image, which may take some time. Make your own image for more advanced use.
For more detailed information about the available command-line arguments, you can run the following command:
docker run --rm pdfix/html-to-pdf:latest --help
Comming soon. Please contact us.
To export the configuration JSON file, use the following command:
docker run -v $(pwd):/data -w /data --rm pdfix/html-to-pdf:latest config -o config.json
- PDFix SDK - https://pdfix.net/terms
- Chromium - https://www.chromium.org/Home/
Trial version of the PDFix SDK may apply a watermark on the page and redact random parts of the PDF. Contact us to get an evaluation or production license.
To obtain a PDFix SDK license or report an issue please contact us at [email protected]. For more information visit https://pdfix.net