Information about Beacon, authors ofFfax2Send Information for large companies and multi-nationals How to install and configure Fax2Send server and clients Latest News about Fax2Send Fax2Send license Price List Information for Resellers and Channel Partners
Deutsch Italiano    
Download Fax2Send Products Fax2Send Product information Purchase Fax2Send  products Fax2Send support information
 

Search Fax2Send

Advanced
Shell API Menu
HpFaxSpool

Fax2Send Shell API - Send a File with an Embedded Fax Number

NAME

/usr/lib/fax2send/bin/hpfaxspool - Send a Fax with an embedded fax number

Only valid for Version 2.1-5 or later of the Fax2Send server

SYNOPSIS

hpfaxspool [-FDS] [-Pformat_script]

DESCRIPTION

Hpfaxspool reads from standard input and scans for a fax number embedded within a PCL or ASCII format file. If a number is found then the file is queued using the fax2 command. The fax number must appear in the file in the following format:

fax:fax number.

Note the use of a full stop to terminate the number

Hpfaxspool will also scan for other embedded strings:

FLAGS
-D Generate debug output.

-F Send fax in fine mode (see -F flag for fax2 command).

-Pformat script Use the specified format script (See the -P flag for the fax2 command).

-S Remove embedded strings from the file.

EXAMPLE

Suppose the file /tmp/myfax.txt contains the following:

To: John Smith
Fax: 1234567890.
From: Joe Jones
Subject: Thursdays meeting.

Hi John,

See you on Thursday.

Joe

...and you run the following command:

/usr/lib/fax2send/bin/hpfaxspool < /tmp/myfax

Then the file /tmp/myfax will be sent to the fax number 1234567890.