How to generate a FAX compatible multi-page TIFF from a PDF

This is an excellent question, as a reliable answer is amazingly hard to find on the Internet. Most advice works for some PDF files, but not for others. The following commands appear to work OK for any PDF file. If you can find PDF files for which these commands fail, please report this.

Ghostscript is the key tool for converting PDF files to FAX compatible TIFF files. You may see other programs being used for this job, but behind the scenes they usually use Ghostscript to do the hard work.

  • A T.4 1D compressed standard resolution TIFF file can be produced with a command of the form.
  • A T.4 1D compressed fine resolution TIFF file can be produced with a command of the form.
  • A T.4 1D compressed super-fine resolution TIFF file can be produced with a command of the form.
  • A T.4 2D compressed standard resolution TIFF file can be produced with a command of the form.
  • A T.4 2D compressed fine resolution TIFF file can be produced with a command of the form.
  • A T.4 2D compressed super-fine resolution TIFF file can be produced with a command of the form.
  • A T.6 compressed standard resolution TIFF file can be produced with a command of the form.
  • A T.6 compressed fine resolution TIFF file can be produced with a command of the form.
  • A T.6 compressed super-fine resolution TIFF file can be produced with a command of the form.

Spandsp can accept T.4 1D, T.4 2D, or T.6 compressed files for transmission, and translate to whatever compression scheme is required during the FAX transfer. Ghostscript is a great piece of software, but it can be a little heavy on CPU requirements. High volume PDF->TIFF conversion is probably not the kind of processing that is wise on a high volume FAX server.

Want me to do this for you? Drop me a line: itgalaxyzzz {at} gmail [dot] com