Technical Notes for Microsoft Fax

This section describes technical information about Microsoft Fax architecture and Registry entries.

You can send faxes either by using the mail client or the Microsoft Fax printer driver. In each case, the message is sent to the Microsoft Fax service provider by using MAPI. If you sent the message from a mail client, it might contain text, embedded OLE formats, and attachments. If you sent it by using the Microsoft Fax printer driver, the mail message will contain a rendered format of the file as an attachment to the mail message.

MAPI allows messages to be preprocessed based on the transport protocol used to send them. The transport protocol chooses the correct modem connection, uses TAPI to create a dial string, and sends the message to that recipient. The preprocessor determines whether to render the message into a fax form to be printed by a fax machine. The rendered format is attached to the original message as a message property and is deleted either when the message is sent or when the transport protocol tries to send the message but determines it cannot.

If the message does not have to be rendered, the message is converted from its original binary format to a line image (also called a linearized form), and then it is compressed.

After the message is submitted, the transport protocol determines what type of recipient the message is intended for as follows:

Fax-form messages sent to Microsoft At Work devices will be sent by using BFT with the resource-based rendering of the message sent as an attachment.

The Registry keys for a fax modem are found in:


Hkey_Local_Machines\Software\Microsoft\At Work Fax\Local Modems

For each local modem that has been installed by Windows 95, information is stored in the key named TAPInnnnnnnn where nnnnnnnn is an arbitrary number assigned by TAPI. The TAPI key contains subkey values. Values that are important to the system administrator are described in the following tables.

The following table lists the modem command strings used to reset the modem whenever Microsoft Fax acquires it from TAPI:

Subkey

Description

ResetCommand

This "AT" command string includes:

Load factory defaults: &F

Disable auto-answer: S0=0

Echo OFF: E0

Verbose ON: V1

Quiet OFF: Q0

The default depends on fax modem. Typically, AT&FS0=0E0V1Q0.


The following table lists the setup modem command string used to set up the modem before dialing or answering:

Subkey

Description

SetupCommand

This "AT" command string includes:

Max dial-tone timeout: S7=255

Tie DTR drop to reset: &D3

XON/XOFF flow control: Varies

The default depends on fax modem. Typically, ATS7=255&D3&K4.

ExitCommand

This command string is issued to the modem after hang-up, and just before releasing the port. The default is empty.

FixSerialSpeed

This command string specifics the port speed. The default is 19200.

PreAnswerCommand

This modem command string is issued to the modem just before issuing the ATA (answer) command. Microsoft Fax will have already issued the Setup command, and the command to go to the appropriate Fax Class (Class 1 or 2). The default is empty.

PreDialCommand

This modem command string is issued just before issuing an ATA (dial) command. Microsoft Fax will have already issued the Setup command, and the command to go to the appropriate Fax class (class 1or 2). The default is empty.

HighestSendSpeed

This modem command string specifies the highest speed to try sending a fax, in bits per second. A value of 0 forces the highest available speed. The default is 0.

LowestSendSpeed

This modem command string specifies the lowest speed to try sending a fax, in bits per second. A value of 0 forces the lowest available speed. The default is 0.

EnableV17Send

If 0, this command string disables use of V.17 (14.4 kbps, short train) for sending. The default is 1.

EnableV17Recv

If 0, this command string disables use of V.17 (14.4 kbps, short train) for receiving. The default is 1.


For more information about the Registry, see Chapter 33, "Windows 95 Registry."