Hi,
Usage
faxinstall.bat <Path To Your Fax Application> <Printer
Name>
or
faxinstall.bat <Path to Config File>
By passing both the Application Path and Printer Name to the batch file the
printer will be installed with the specified name and with a default set of
printing properties. Using the Ini file method allows you to specify printing
defaults for paper size, resolution and orientation as well as the name of the
driver and the associated executable path.
The configuration ini file must be an ASCII text file in the following format
and must have a .ini file extension:
[FaxInstall]
PrinterName=FaxTest Printer
AppPath=C:\Program Files\FaxMan3\Samples\Vbapp\Faxtest.exe
Resolution=2
PageSize=2
PageOrientation=1
The parameters which can be specified in the
ini file include:
PrinterName
limit 24 characters
User friendly printer driver name
Default = "Fax Driver"
AppPath
limit 255 characters
full path name to application associated with driver
No Default
Resolution
1 = Low
2 = High, default
PageSize
1 = Letter, default
2 = A4
3 = Legal
PageOrientation
1 = Portrait, default
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
PrintFilesPath
limit 255 characters
full path name to directory for creating files
LogFile
limit 255 characters
Full path name of log file