![]() ![]() |
|
||||||||
| |
|||||||||
|
Fax2Send Shell API - Send a File with an Embedded Fax NumberNAME/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 SYNOPSIShpfaxspool [-FDS] [-Pformat_script] DESCRIPTIONHpfaxspool 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:
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. |