Plutext

PDF Converter - Docker

You can use Plutext's Word to PDF Converter in your application to programmatically convert or export Microsoft Word doc/docx files to PDF.

It installs as a Docker image on Linux (most flavours).

Please note: This product has been discontinued and is no longer available for purchase. Downloads are for the convenience of existing licensees only.

To test your document online, or to download an installer for some other OS, please see here

Docker Downloads

Visit Docker Hub, or

docker pull plutext/plutext-document-services

Installation and Getting Started

To run it:

docker run -d -p 9016:80 --name plutext plutext/plutext-document-services

To test the service is operating correctly, please see Getting Started, or just:

curl -X POST --data-binary @sample.docx -o out.pdf http://127.0.0.1:9016/v1/00000000-0000-0000-0000-000000000000/convert

Health check:

curl -f http://127.0.0.1:9016/v1/00000000-0000-0000-0000-000000000000/ping

Dockerfile



FROM busybox:musl
RUN mkdir -p /opt/PlutextDocumentServices
RUN mkdir -p /opt/PlutextDocumentServices/log
RUN mkdir -p /opt/PlutextDocumentServices/tmp
ADD PlutextDocumentServices /opt/PlutextDocumentServices

# Add a license
#ADD [path to font.ttf] /opt/PlutextDocumentServices # Add more fonts
#ADD [path to license] /opt/PlutextDocumentServices/plutext.license  

#ADD [path to dict.dic] /opt/PlutextDocumentServices # Optional: add hyphenation dictionaries

ENV PLUTEXT_LOG_FILE=/dev/stdout
ENV PLUTEXT_LOG_DIR=/opt/PlutextDocumentServices/log
ENV PLUTEXT_BASE_DIR=/opt/PlutextDocumentServices/tmp
ENV PLUTEXT_LICENSE=/opt/PlutextDocumentServices/plutext.license
ENV PLUTEXT_VERBOSE=0
ENTRYPOINT ["/opt/PlutextDocumentServices/plutextd", "service=0.0.0.0:80"]
EXPOSE 80
    
    
    

To build manually:

docker build -t plutextdocumentservices .

Resources

Blog post Scaling the PDF Converter with AWS Fargate

Blog post PDF Converter task sizing and auto scaling