Converting PDF to Word Format for Editing

In an earlier post, I described how to use cups-pdf to print documents directly to PDF in Ubuntu 9.04. While playing around with cups-pdf, I discovered kword. This nifty piece of editor software allows you to convert PDF files to a format that could be edited. You can then convert it to PDF format again by ‘printing’ it to PDF using cups-pdf.

To get started, you have to install kword using the following:

sudo apt-get install kword

Now you invoke it using:

Applications -> Office -> kword

Here, use the File -> Import feature to import any PDF file into it. Happy editing!

Note: If the PDF is password protected, kword allows you to enter the password to decrypt it.

Printing to PDF using cups-pdf

Recently at work I discovered PDFCreator with which any document can be printed into PDF. Alas, it is a Windows program and a LINUX port is not available. Fortunately, I found cups-pdf for Ubuntu.

Note: You can print to a Post Script file directly in LINUX, and then use  ps2pdf13 to convert the .ps file to .pdf.

To install cups-pdf, type the following at the terminal or use Synaptic Package Manager:

sudo apt-get install cups-pdf

Now, Ubuntu 9.04 installs a ‘PDF’ pritner automatically – in earlier versions you have to manually install a PDF printer as described here http://www.ubuntugeek.com/how-to-create-pdf-documents-in-ubuntu.html.

Check your installation by going to:

System -> Administration -> Printing

You should see a printer with name PDF installed.

Now create a  directory named PDF in your home directory and you are all set to print directly to PDF.

You can change the name of the default directory from PDF to anything of your choice by changing the configuration file which is located at:

/etc/cups/cups-pdf.conf