in

Archived Data Techniques Forums

InstallFaxManPrinter parameters

Last post 11-20-2008 10:28 AM by support. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 11-19-2008 6:03 AM

    • bclim
    • Not Ranked
    • Joined on 11-19-2008
    • Posts 2

    InstallFaxManPrinter parameters

    In the faxinstall.bat file, there is a command

    rundll32 fmprint4.ocx,InstallFaxManPrinter %1 %2 %3 %4 %5 %6 %7 %8

    However, I cannot find any documentation regarding the parameters.
    Does anyone know these parameters? Thank you

     

  • 11-19-2008 10:22 AM In reply to

    Re: InstallFaxManPrinter parameters

    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

     

    Sean
    Data Techniques Online Support
    Filed under:
  • 11-19-2008 11:58 PM In reply to

    • bclim
    • Not Ranked
    • Joined on 11-19-2008
    • Posts 2

    Re: InstallFaxManPrinter parameters

    Thank you for your reply. Actually I already saw that in the help file and within the .bat file.

    I asked because there are 8 parameters until %8 but your .bat file contains only 2 parameters. I was wondering where the additional parameters can set papersize, resolution etc but apparently it cannot. Papersize is particularly important because only in USA that they still use letter size. Elsewhere in the world, they are using A4.

  • 11-20-2008 10:28 AM In reply to

    Re: InstallFaxManPrinter parameters

    Hi,

    The bat file has more placeholders than we actually support. To set things like the papersize, etc you'll need to create an ini file with the options and then pass the name of the ini to the bat file.

    Sean
    Data Techniques Online Support
Page 1 of 1 (4 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.