| |

|
Abstract
To create SFF files from postscript input I have written the cfax device driver
for Ghostscript (cfax stands for 'CAPI FAX'). It uses the built-in fax encoder of Ghostscript
and could remain very small therefore. It accepts the same paper sizes and command switches
like the other fax devices (g3fax,g4fax, etc.)
NOTE: The patch below is OBSOLETE! All releases of ghostscript later than 6.24 contain the device 'cfax' ALREADY as a contributed driver!
Most binary distributions don't contain it and have to be recompiled, tough.
WINDOWS USERS: Please find a cfax-enabled Ghostscript version in the 'files' section of the SourceForge.net project page.
This is not a setup, but a zip archive! Run setupgs.exe after unpacking.
IMPORTANT: The compiled source is exactly that of the official ghostscript release, i've just added the cfax device
to the makefile. HOWEVER, the binaries are UNTESTED. Please don't file bugs about it in the official
ghostscript bugtracker and USE IT AT YOUR OWN RISK!
Recompiling Ghostscript to include cfax
This patch below was included as a contributed driver in developer releases from GS 6.24 and up.
However, most binary distributions still don't come with it compiled-in.
So, in most cases you'll have to compile GS yourself. To do so, change your makefile to include
the cfax device. Search line "DEVICE_DEVS7=..." and add
"$(DD)cfax.dev" to it. For me the line reads:
DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev $(DD)cfax.dev
This is for the unix-* makefiles. Windows makefiles must changed accordingly, simply search for any
DEVICE_DEVSxy line and add the cfax.dev.
The patch (obsolete)
Note: The patch is made against the Unix sources of Ghostscript (ghostscript-x.y.z.tar.gz), versions 5.50, 6.0 or 6.01.
|
|
|