home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
extra.zip
/
FAX.DOC
< prev
next >
Wrap
Text File
|
1994-06-09
|
5KB
|
114 lines
FAX Sample Application
Caveat: Although the FAX sample included with this beta illustrates a number
of typical facsimile functions, it does not contain the error recovery or
feature set required of a robust application.
Here's a brief overview of how to run the sample fax application.
Starting the sample application
1. Copy fax.exe to a \fax subdirectory (or other convenient subdirectory)
on your system.
2. If you wish to add a fax icon to the desktop:
a. Open the Templates folder and drag a copy of the Program icon to the
desktop.
b. Enter the following information in Program Settings: path and filename
of the executable (fax.exe); working directory; title for the icon
(e.g. FAXAPP).
3. To start FAXAPP, simply double-click on the FAX Applet icon (or enter
fax from an OS/2 command line).
FAXAPP automatically opens and initializes the Mwave FAX device driver when
it is started. Message boxes allow you to begin the driver initialization,
and report the status of the initialization operation.
Sending a fax
FAXAPP can send a BMP file (a type of DIB file) or a TIFF Class F format FAX
Document File (which can be composed of single or multiple pages) to any
remote fax machine. BMP files are converted to TIFF format before being
sent with FAXAPP. The Mwave FAX driver supports conversion of BMP files to
TIFF (and vice-versa), and FAXAPP uses this conversion support..
Note: BMP files are limited to black and white (monochrome) files only.
Color BMP files are not supported by the Mwave FAX device driver.
Monochrome BMP files can be easily created using the Microsoft Windows
application, Paintbrush, located in the Accessories program group. After
starting Paintbrush, select the "Image Attributes..." command from the
"Options" menu, then click on "Black and White" for the image color. Any
image you create results in a monochrome BMP file when saved.
To send a file:
1. Select the Send command from the Options menu.
2. Select the file (either a BMP or TIFF file) to be sent. If the selected
file is a BMP file, the file must be converted from BMP format to TIFF
format before being sent. FAXAPP prompts you to enter the destination
filename where the converted TIFF file is to be stored. Be sure and specify
a .TIF filename extension for the destination file. Also, make sure the BMP
file is monochrome. Color BMP files will not be sent correctly.
3. Enter the phone number of the remote fax machine when prompted. See the
MCI_DIAL command in the FAX API Reference chapter for valid dial string
characters.
The specified file is then sent, in the background, to the remote fax
machine, allowing you to continue to use other applications. A message box
is displayed after successful completion or call termination due to an
error.
Receiving a fax
FAXAPP automatically receives fax data from incoming fax calls.
The receive operation proceeds in the background, allowing you to continue
working with other applications. Message boxes are used to notify the user
that a fax call has been received, and to display the receive operation's
completion status (either success or failure).
Viewing a fax
FAXAPP enables you to view fax data from a BMP file or a single page from a
TIFF FAX Document File. To view a fax:
1. Select the View command from the Options menu. Two types of view are
available:
Actual size - The upper left portion of the fax image is displayed in
the FAXAPP window. No resizing of the original fax data is performed,
resulting in fast redraw performance.
Fit to window - Stretches the fax image data to fit the FAXAPP window,
while maintaining the original image aspect ratio. Viewing a fax in
this mode is much slower than viewing using the Actual size mode.
2. Select the file (either a BMP or TIFF file) to be viewed. TIFF files
must be converted to BMP format before being viewed. For TIFF files, FAXAPP
prompts you to enter the destination filename where the converted BMP file
will be stored. Be sure and specify a .BMP filename extension for the
destination file. If there are multiple pages of fax data within the
specified TIFF file, you are prompted to select the number of the page you
wish to view.
Other commands
Two additional commands are available from the FAXAPP Options menu. They
are:
Hang up
This command hangs up the phone (places the phone device on hook). You can
hang up the phone any time.
Clear screen
This command clears the fax image currently displayed (if any) in the FAXAPP
window. Select the View command if you want to view another fax.