FaxMan Jr
Using the FaxInstall Utility

 

The faxinstall.bat file can be used to install a FaxMan Printer driver from a DOS console or from an Installer.

 

The fmprint4.ocx file must be located in the same directory as the faxinstall.bat. The ocx file is required even if you arent using the Print OCX control but need not be registered if you are not using the control otherwise.

 

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

 

 


© 2014 Data Techniques, Inc. All Rights Reserved.

Send comments on this topic.