ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Managing faxes
  • Overview
  • Configuring the "fax server" computer
  • Configuring the current computer
  • Configuring the fax server in Windows 2000
  • Configuring the fax server in Windows XP
  • Configuring the fax server in Windows Vista
  • Configuring the fax server through programming
  • Options of fax server
  • Tips
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
WINDEV and WEBDEV allow you to manage faxes via the system fax server, available in Windows (2000, XP and later).
You can:
This help page presents the configuration of the fax server required to perform these operations.
Configuring the "fax server" computer

Configuring the current computer

The following elements are required to send faxes:
  • Windows XP, 2000 or Vista (Vista Professional or Vista Full Version)
  • a modem configured on the computer (server in WEBDEV)
  • the standard Windows fax service must be started (on the server for WEBDEV)
Remark: the fax server can be a computer other than the current computer. In this case, the fax server must be installed on a "Server 2003" computer and shared.
1. Check the configuration of modem
Open the control panel of Windows ("Start .. Settings .. Control panel") and select "Phone and modem options". Check whether a modem is installed on the computer.
2. Install a standard fax server
Windows XP, 2000 and Vista are supplied with a fax server.
To install this fax server in Windows XP or 2000:
  • Select "Add/Remove Programs" in the control panel of Windows ("Start .. Settings .. Control Panel").
  • Select "Add/Remove Windows components".
To install this fax server in Windows Vista:
  • Select "Programs and features" in the control panel of Windows ("Start .. Settings .. Control Panel").
  • Select "Enable or disable Windows features", then "Windows fax and digitization".
3. Check whether the standard fax service of Windows is in incoming mode
For more details, see the paragraphs below.

Configuring the fax server in Windows 2000

In Windows 2000, the fax server is called "Fax Service".
To configure the fax server:
  1. Open the control panel of Windows ("Start .. Settings .. Control panel").
  2. Double-click "Fax service". If this option is not displayed, install the fax server of Windows 2000 (see above).
  3. Select the "Advanced options" tab and click the "Open the console for managing the fax service" button.
  4. The "Device" option lists the modems and faxes installed on the computer.
  5. Double-click your modem/fax.
  6. In the "General" tab, enable the feature allowing you to send faxes from a WINDEV application or from a WEBDEV site.
  7. Validate.
Remark: To create a cover file (.cov), select the "Cover page" tab.

Configuring the fax server in Windows XP

To configure the fax server:
  1. Select "Start .. Printers and Faxes".
  2. Double-click the "Fax" option. The wizard for fax configuration starts.
  3. Select "Tools .. Configuration".
  4. Validate the default parameters until you reach the "Configuration for receiving and sending faxes" plane.
  5. Enable the feature allowing you to send faxes from a WINDEV application.
  6. Validate. The fax server is started.
Remark: To create a cover file (.Cov), select "Tools .. Personal cover page".

Configuring the fax server in Windows Vista

To configure the fax server:
  1. Select "Start .. All programs .. Windows fax and digitization". The wizard for fax configuration starts.
  2. At the bottom of the left pane, select "Fax service".
  3. Select "Tools .. Fax accounts" and click the "Add" button.
  4. In the wizard, follow the different steps in order to connect to a fax modem.
  5. To enable the feature for sending faxes, select "Tools .. Fax settings" and check "Allow this device to send faxes".
  6. Validate. The fax server is started.
Configuring the fax server through programming

Options of fax server

The standard fax server of Windows proposes several options that can be configured directly from the interface of the fax server. These different options can be configured through programming via the registry. You have the ability to configure and find out:
  • information regarding the sending of faxes (Windows 2000):
    The corresponding registry key is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fax:
    Number of attemptsRetries
    Number of minutes between two attemptsRetry Delay
    Number of days before deleting the unsent faxesDirty Days
    Archive the outgoing faxesArchiveOutgoingFax
    Directory of outgoing faxesArchiveDirectory
    Print the top headerBranding
    Forbid the custom cover pagesServerCoverPageOnly
    Time when the economy rate startsStartCheapTime
    Time when the economy rate endsStopCheapTime
  • information regarding the sender of the fax (Windows 2000):
    The corresponding registry key is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fax\UserInfo:
    Number of the fax senderFaxNumber
    Mailbox addressMailbox
    CompanyCompany
    TitleTitle
    Full nameFullName
    DepartmentDepartment
    Business addressOffice
    Home phoneHomePhone
    Business phoneOfficePhone
    Displays the status monitor when sending AND receiving faxesVisualNotification
    Status monitor always on the topAlwaysOnTop
    Sound notificationSoundNotification
    Billing codeBillingCode

Tips

To create a fax server and to manage the redial of faxes, the following options must be specified in the fax manager:
  • No retry for sending faxes:
    RegistrySetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fax","Retries",0)
  • Timeout set to 0 mn between two attempts:
    RegistrySetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fax","Retry Delay",0)
  • 0 day for keeping the unsent faxes:
    RegistrySetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fax","Dirty Days",0)
It is possible to consider that a fax whose status changed from FaxStatusInit OR FaxStatusCall to FaxStatusInactive was attempted to be sent once. Then, this fax can be re-sent (it will not be automatically re-sent because "No retry for sending faxes" is set to True).
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help