RPE-PrinceXML
Last modified by Robert Pele on 2021/08/04 08:57
Purpose
This software stack provides PrinceXML as a HTML/CSS to PDF Rendering Remote Processing Engine (RPE) through a simple REST API.
Properties
Stack-Description | Remote Processing Engine (RPE), PrinceXML PDF Rendering |
---|---|
Stack-Image | docker.msg.team/ps/docker-stack-rpe-princexml |
Stack-Version | 13.5 |
Stack-Release | 20200806 |
Product-Name | PrinceXML |
Product-Vendor | YesLogic Pty. Ltd |
Product-Contact | https://www.princexml.com/ |
Product-Model | Freemium |
Product-License | Commercial |
Product-Limits | watermarked first page of PDF |
Implementation Base | Mercury, Rust |
Execution Base | Mercury Engine |
Initial Start Time | 00:00:15 |
Documentation | https://www.princexml.com/doc/ |
Topology
The stack consists of 1 containers:
- foo: bar
Configuration
Variable Name | Default | Meaning | |
CFG_PRINCEXML_USERNAME | princexml | ||
CFG_PRINCEXML_PASSWORD | princexml | ||
CFG_PRINCEXML_LICENSE | Path to the licence file on your server |
See also the variables which control integration of the stack into the reverse proxy.
For changes to take effect the stack has to be reinstalled.
First Steps
This is a simple REST service to the awesome PrinceXML from YesLogic Pty. Ltd. PrinceXML is a HTML/CSS to PDF rendering engine provided as a Command-Line Interface (CLI). This REST service allows you to send your HTML/CSS input files to a central PrinceXML instance and just receive back the rendered PDF file. As a consequence you don't have to install PrinceXML locally.
Examples:
$ curl -D- -s -X POST -F "url=http://www.google.de/" \ --basic --user princexml:princexml -o sample.pdf \
$ curl -D- -s -X POST -F "file=@sample.html" \ --basic --user princexml:princexml -o sample.pdf \ http://<server>:3000/rpe-princexml/
Related Documents