FaxMan V 4 ActiveX Control
ImportFiles Method
Specifies the name and path of the faxfile to be created.
Specifies the name and paths of the text, PDF, PCX, DCX or BMP files to be imported.
Description

Converts the specified file(s) into FaxMan format. The input files may be in PDF*, PCX, DCX, TIFF, BMP or ASCII text format.

Syntax
Visual Basic
Public Sub ImportFiles( _
   ByVal FaxFile As String, _
   ByVal InputFiles As String, _
   ByVal Options As Integer _
) 
Parameters
FaxFile
Specifies the name and path of the faxfile to be created.
InputFiles
Specifies the name and paths of the text, PDF, PCX, DCX or BMP files to be imported.
Options
Remarks

The ImportFiles method allows your application to generate FaxMan fax files that can then be faxed by the FaxMan server.

 

The <faxfile> string specifies the output filename. This filename can have any extension type, but FMF is recommended for those files which should be deleted when their corresponding log entry is deleted.

 

The <importfiles> string can specify a single file or a list of files. Each file can represent many pages of fax data. Each file should be separated by a "+" sign, as in "c:\file1.tif+c:\test\file2.pcx+c:\ascii.txt"

 

If the <faxfile> already exists, the <importfiles> will be appended to the existing  <faxfile>

 

The following file types can be imported via this method:

 

Monochrome (1 bit only) TIFF, BMP, PCX, DCX, and FMF images. These images will be scaled to the proper width for faxing if they are greater than 1728 pixels wide. If they are less than 1728 pixels wide they will be padded with white space to 1728. Resolution of imported images is not altered.

 

PDF files can be imported with the optional FaxMan PDF Import addon option.

 

ASCII Text files. FaxManJr imports such files using the default typeface at 10 pt. in height, bold Courier New type, 80 columns/line, 10 chars/inch, no margins defined, high resolution.

 

Importing ASCII text is provided as a convenience, and is not intended to function as a full-featured page-layout system; therefore, this function will perform very basic text formatting only, no special characters or formatting will be maintained. Output files, for text input, are always 8 1/2 x 11, 66 lines (full page only). Output files for image input is only the length of the input image by 1728 width.

See Also

FaxMan Object  | FaxMan Members

Send comments on this topic.