Read Me for Faxinstall.exe Version 3.51
---------------------------------------

FaxInstall is a command line utility used for setting
up FaxMan printer drivers on: Windows 95, Windows 98,
Windows NT 3.51/4.0 and Windows 2000.  It is the preferred method of installing
FaxMan printer drivers on any of the 32 bit platforms. It allows for
recording of possible problems during printer driver installation
therefore making client support easier. Full source is provided in 
the file Printsrc.zip if it is necessary to modify the program further.

This version of FaxInstall handles copying the files differently
then previous versions.  It will automatically detect the
Windows Platform and install the appropriate files.  It also allows
for the use of a configuration file instead of using the command line
parameters.  Since many of the files needed for a given
platform are incompatible with files of the same name on a different
platform we have taken the approach of changing the extensions of
these files and naming them correctly when they are copied over.

FaxInstall's usage is:
----------------------

FaxInstall <PortName> <AppPath> <Printer Driver Name> <optional: Printer Files Path>

example:
c:\tempdrv> faxinstall FaxDrv C:\progra~1\Myprogram\myprogram.exe "Fax Driver for MyProgram"   

Explanation of Parameters:

1. Portname-  ESSENTIAL this is identical to the AppID for the FaxMan control in your project.
Also check that the FaxMan control's visible property is set to true.
And check that a file name is supplied in the PrintStart event for the FaxMan control.

2. Path to your application that has the FaxMan control in it.

3. User friendly Driver Name- Note: Faxinstall's programs parameters are space delimitated.  
Any parameter that has a space in it MUST be enclosed in "quotes".

4. If present files will be copied from the specified directory.


FaxInstall's alternate usage:
-----------------------------

FaxInstall now accepts a configuration file.  The file is in an "ini" format.
Here is an example configuration file:

[FaxInstall]
PortName=FaxTest
PrinterName=FaxTest Printer
AppPath=
HookDLL=faxhook1.dll
PrinterFiles=a:\printers
Resolution=2
PageSize=2
PageOrientation=1

This file will install a printer driver for use with a hook dll.  The default
resolution for this printer driver will be high, and the default paper size
will be A4.

Here are the possible parameters.
PortName:
	limit 20 characters
	Must match AppId in application
	Default = "FaxDrv"
PrinterName:
	limit 40 characters
	User friendly printer driver name
	Default = "Fax Driver"
AppPath:
	limit 255 characters
	full path name to application associated with driver
	No Default
HookDLL:
	limit 50 characters
	Specify DLL name only and place DLL in path
	No Default
PrinterFiles:
	limit 255 characters
	Path to the necessary printer files.
	Default = Directory Faxinstall.exe is run from.
Resolution:
	1 = Low
	2 = High, default
PageSize:
	1 = Letter, default
	2 = A4
	3 = Legal
PageOrientation:
	1 = Portrait
	2 = Landscape
ReplaceFiles:
	0 = Replace All files
	1 = Replace non-system files only, default
	2 = Replace no files only copy if files not present
	3 = Do not copy any files
LogFile:
	limit 255 characters
	specify directory and filename for log file
	Default = Directory Faxinstall is run from + "\xinstall.log".


If you have problems using this utility please send the xinstall.log file to support and
we will look into the problem.

For a complete list of error codes refer to Winnerror.h.

support@data-tech.com