HOME PROJECTS SOFTWARE HARDWARE OTHER FACTS LINKS

The starting point

This project started at work when my company bought a license for a PDF factory. For those who don't this type of software, it allows you to create a PDF document from any application which can print. Thus you can convert any document type to a PDF very easily. The main benefit as far as I'm concerned is that the PDF files can be viewed by anyone via a (free) PDF viewer and if required the user cannot modify those PDF files as well which can be important if your documents are contracts for instance. Moreover the user does not need to install the application used to produce the document in the first place. Another benefit is that PDF documents are less prone to be infected with viruses as would Microsoft Office documents for example. It is generally safer to send PDF files via email than Microsoft Office documents. I personally do not accept any attachments with this kind of documents.

Right, now that you know what I'm talking about, I then thought that a free alternative to the purchased PDF factory must exist out there. I also wanted the solution to be held on a server so that installation requires minimum fuss on each client. As you would expect I turned to Linux to fill my need and found one almost immediately.

Solution requirements

PDF factories are basically virtual printers that are managed by CUPS and published by Samba to the Windows clients. On the client side the same drivers are used for all my factories. On the server side I have written a special script for each printer. There is nothing stopping you creating your own script to fill your need in the same way I have done. All the programs that will be required are free to use and based on Linux even if client machines will be running Microsoft Windows!

Installing Print To PDF Virtual Printer

This PDF factory will create the PDF file in a user folder on the server that can be access in the Windows client via Samba.

PDF folder

To install this factory follow the next steps:

Next use CUPS web administration to add the printer by clicking Add Printer. Select make as Postscript and model as Print To PDF Virtual Printer.

Installing Mail Back PDF Virtual Printer

This PDF factory will email the resulting PDF file to the user.

Next use CUPS web administration to add the printer by clicking Add Printer. Select make as Postscript and model as Mail Back PDF Virtual Printer.

Using my PDF factories

On a Windows client machine browse the network and select the server and then display the printers made visible by Samba. Right click a printer and install it. That's it. You can now convert any document to a PDF file by selecting the appropriate printer in the Print dialog box.

Valid XHTML 1.0 Strict