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).

Download pricing info: docx or pdf.

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

Linux Downloads

Installers

64 bit downloads:

Ubuntu < 15.04
(debian initd)
PlutextDocumentServices-latest.initd.x86_64.deb
Ubuntu >= 15.04
(debian systemd)
PlutextDocumentServices-latest.systemd.x86_64.deb
RedHat/CentOS 6
(initd rpm)
PlutextDocumentServices-latest.initd.x86_64.rpm
RedHat/CentOS 7
(systemd rpm)
PlutextDocumentServices-latest.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)

# Rename the download (please modify the querystring to match your filename)
sudo mv PlutextDocumentServices-2.0-17.initd.x86_64.deb\?code\=1453875237374 PlutextDocumentServices-2.0-17.initd.x86_64.deb

# Install
sudo dpkg --install PlutextDocumentServices-2.0-17.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)

# Rename the download (please modify the querystring to match your filename)
sudo mv PlutextDocumentServices-2.0-23.systemd.x86_64.deb\?code\=1453875237374 PlutextDocumentServices-2.0-23.systemd.x86_64.deb

# Install
sudo dpkg --install PlutextDocumentServices-2.0-23.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
(initd rpm)

# Rename the download (please modify the querystring to match your filename)
sudo mv PlutextDocumentServices-2.0-17.initd.x86_64.rpm\?code\=1453875237374 PlutextDocumentServices-2.0-17.initd.x86_64.rpm

# Install
sudo yum localinstall -y PlutextDocumentServices-2.0-17.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
(systemd rpm)

# Rename the download (please modify the querystring to match your filename)
sudo mv PlutextDocumentServices-2.0-17.systemd.x86_64.rpm\?code\=1450140399106 PlutextDocumentServices-2.0-17.systemd.x86_64.rpm 

# Install
sudo yum localinstall -y PlutextDocumentServices-2.0-17.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