Fax File Test Utility
CFUTIL FAXABLE [-r] [-e] [-l] [-n] [-x] filename
The FAXABLE utility tests a fax file to determine if it is likely to be faxable. It uses similar criteria to those used in FFVIEWER, and does not take into account differences between fax board capabilities.
The program returns a non-zero errorlevel if it determines that the file is unlikely to be faxable. It also outputs an error message describing the problem, which can of course be ignored if the program is running unattended.
The command-line switches are used as follows:
| -r | causes the checking to be relaxed so that files which have width between 1600 and 1727 inclusive, or which have multiple encoded strips, or which use LZW or PackBits compression are deemed to be faxable if all the other checked conditions are met. Such files will be converted on-the-fly in the CopiaFacts engine to faxable format prior to transmission of the fax. |
| -l | treats landscape images with height 1728 as faxable if other' conditions are met. |
| -n | treats images wider than 1728 as non-faxable (unless -l is also present and the image is landscape with height 1728). |
| -x | causes non-faxable files (in either default or relaxed mode) to be copied to a file with extension .xif in the same path as the original file. The .xif file can then be named on a $fax_filename command and will be converted using the Document Converter feature if FFEXTERN and $convert_types are configured to handle this format. |
Example:
CFUTIL FAXABLE @FFBASE\temp\myfile.tif >nul
IF errorlevel ...