Fax2pdf

From ReservesDirect: Open Source EReserves System

Home :: Features :: Screenshots :: Demo (http://www.reservesdirect.org/demo/index.html) :: Documentation :: Downloads :: Support :: Blog (http://www.reservesdirect.org/blog) :: Join Us!
ReservesDirect Documentation:   Contents | Library staff handbook | System administrator handbook | Developer handbook
Table of contents

Overview

fax2pdf (http://fax2pdf.sourceforge.net/) is a utility which will convert fax G3 tiff files to PDF files. Although it is currently unmaintained, we have found it to do an excellent job of converting our faxed-in reserves to PDFs. fax2pdf should run on any Linux, BSD, or UNIX-like system. We have only been able to build it using g++ (http://gcc.gnu.org) version 2.9x. Because GCC 3.x is the default compiler shipped with most of the Red Hat systems we run, we chose to build it on one of our Debian systems (where multiple versions of gcc and g++ can be made to coexist easily).


Installation

We have packaged fax2pdf for Debian 3.1 (Sarge) and Red Hat AS 2, 3 and 4 (and perhaps other RPM-based systems). We also have a generic tar.gz package, which should work for many other distributions. Please note that all of our binaries are compiled for Linux on the i386 architecture. (Binaries for other architectures and systems may have been contributed (http://www.reservesdirect.org/downloads/fax2pdf/)).


RPM

RPM for Red Hat-based systems (http://www.reservesdirect.org/downloads/fax2pdf/fax2pdf-0.1.3-0.i386.rpm)

su -c 'rpm -Uvh fax2pdf-0.1.3-0.i386.rpm'


deb

deb for Debian-based systems (http://www.reservesdirect.org/downloads/fax2pdf/fax2pdf_0.1.3-1_i386.deb)

su -c 'dpkg -i fax2pdf_0.1.3-1.deb'


tar.gz

generic tar.gz for other systems (http://www.reservesdirect.org/downloads/fax2pdf/fax2pdf-0.1.3-i386.tar.gz)

su -c 'tar -C / -zxvf fax2pdf-0.1.3-i386.tar.gz'


Source

Unmodified source code (http://www.reservesdirect.org/downloads/fax2pdf/fax2pdf-0.1.3.tar.gz)

If you prefer not to use binary packages, you may build fax2pdf on a Debian system as follows. The process should be similar for any system where g++ 2.9x is available.

su -
apt-get install g++-2.95 libtiff-dev zlib1g-dev
exit
cd /path/to/fax2pdf-0.1.3
editor Makefile

Add the line "CXX = g++-2.95" just above the "VERSION" line, and save the Makefile. Then:

make
su -c 'cp fax2pdf /usr/local/bin'