Plutext

PDF Converter - Linux Service

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 an operating system service on Linux (most flavours).

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

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

Linux Downloads

Installers

64 bit downloads:

Ubuntu < 15.04
(debian initd)
PlutextDocumentServices-2.2-16.initd.x86_64.deb
Ubuntu >= 15.04
(debian systemd)
PlutextDocumentServices-2.2-16.systemd.x86_64.deb
RedHat/CentOS 6/Amazon Linux 2017
(initd rpm)
PlutextDocumentServices-2.2-16.initd.x86_64.rpm
RedHat/CentOS 7/Amazon Linux 2.0
(systemd rpm)
PlutextDocumentServices-2.2-16.systemd.x86_64.rpm

32 bit: please email us.

Installation and Getting Started

To install, run the script appropriate for your system:

Ubuntu < 15.04
(debian initd)

# Install
sudo dpkg --install PlutextDocumentServices-2.2-16.initd.x86_64.deb

# Expose on port 9016
sudo sed 's/^PLUTEXT_SERVICE_ARGS=.*$/PLUTEXT_SERVICE_ARGS=0.0.0.0:9016/g' -i /opt/PlutextDocumentServices/PlutextDocumentServices.config && \
sudo initctl restart PlutextDocumentServices; && \
bash -c 'source /opt/PlutextDocumentServices/PlutextDocumentServices.config && \echo Listening on $PLUTEXT_SERVICE_ARGS' && \
tail -f /var/log/PlutextDocumentServices/plutextd.log

Ubuntu >= 15.04
(debian systemd)

# Install
sudo dpkg --install PlutextDocumentServices-2.2-16.systemd.x86_64.deb

# Expose on port 9016
sudo sed 's/^PLUTEXT_SERVICE_ARGS=.*$/PLUTEXT_SERVICE_ARGS=0.0.0.0:9016/g' -i /opt/PlutextDocumentServices/PlutextDocumentServices.config && \
sudo systemctl restart PlutextDocumentServices; && \
bash -c 'source /opt/PlutextDocumentServices/PlutextDocumentServices.config && \echo Listening on $PLUTEXT_SERVICE_ARGS' && \
tail -f /var/log/PlutextDocumentServices/plutextd.log

RedHat/CentOS 6/Amazon Linux 2017
(initd rpm)

# Install
sudo yum localinstall -y PlutextDocumentServices-2.2-16.initd.x86_64.rpm 

# Expose on port 9016
sudo sed 's/^PLUTEXT_SERVICE_ARGS=.*$/PLUTEXT_SERVICE_ARGS=0.0.0.0:9016/g' -i /opt/PlutextDocumentServices/PlutextDocumentServices.config && \
sudo initctl restart PlutextDocumentServices; && \
bash -c 'source /opt/PlutextDocumentServices/PlutextDocumentServices.config && \echo Listening on $PLUTEXT_SERVICE_ARGS' && \
tail -f /var/log/PlutextDocumentServices/plutextd.log

## Open Firewall
bash -c 'source /opt/PlutextDocumentServices/PlutextDocumentServices.config && sudo iptables -I INPUT -p tcp -m tcp --dport `echo $PLUTEXT_SERVICE_ARGS | sed s/.*://g` -j ACCEPT && sudo service iptables save'

# You may also need to adjust SELinux, not covered here

RedHat/CentOS 7/Amazon Linux 2.0
(systemd rpm)

# Install
sudo yum localinstall -y PlutextDocumentServices-2.2-16.systemd.x86_64.rpm 

# Expose on port 9016
sudo sed 's/^PLUTEXT_SERVICE_ARGS=.*$/PLUTEXT_SERVICE_ARGS=0.0.0.0:9016/g' -i /opt/PlutextDocumentServices/PlutextDocumentServices.config && \
sudo systemctl restart PlutextDocumentServices; && \
bash -c 'source /opt/PlutextDocumentServices/PlutextDocumentServices.config && \echo Listening on $PLUTEXT_SERVICE_ARGS' && \
tail -f /var/log/PlutextDocumentServices/plutextd.log

## Open Firewall
bash -c 'source /opt/PlutextDocumentServices/PlutextDocumentServices.config && ( sudo firewall-cmd --zone=public --add-port=`echo $PLUTEXT_SERVICE_ARGS | sed s/.*://g`/tcp --permanent && sudo firewall-cmd --reload  )'

# You may also need to adjust SELinux, not covered here

After installation, you should see a daemon 'plutextd' running.

To test the service is operating correctly, please see Getting Started.

Port configuration - Linux

The configuration file is at /opt/PlutextDocumentServices/PlutextDocumentServices.config

Edit the line which sets PLUTEXT_SERVICE_ARGS

For example:

PLUTEXT_SERVICE_ARGS=127.0.0.1:9016

127.0.0.1 only accepts connections from localhost; 0.0.0.0 accepts connections from anywhere (assuming your firewall allows it)

Then restart the plutextd daemon.

Restarting the daemon

Ubuntu
(debian initd)

sudo initctl stop PlutextDocumentServices

# remove (or move?) the log file
sudo rm /var/log/PlutextDocumentServices/plutextd.log

sudo initctl start PlutextDocumentServices

# look at the log
sudo more /var/log/PlutextDocumentServices/plutextd.log
RedHat/CentOS 6
(initd rpm)

sudo initctl stop PlutextDocumentServices

# remove (or move?) the log file
sudo rm /var/log/PlutextDocumentServices/plutextd.log

sudo initctl start PlutextDocumentServices

# look at the log
sudo more /var/log/PlutextDocumentServices/plutextd.log
RedHat/CentOS 7
(systemd rpm)

sudo systemctl stop PlutextDocumentServices

# remove (or move?) the log file
sudo rm /var/log/PlutextDocumentServices/plutextd.log

sudo  systemctl start  PlutextDocumentServices

# look at the log
sudo more /var/log/PlutextDocumentServices/plutextd.log