| Special File Handling |
|
| This
functionality is a +PxPlus
Exclusive |
||||||||||||||||||||||||||||||||||||||||||||
| Formats | OPEN
(chan[,fileopt])"*PLUSFAX*[;option][;option]
[...]"
|
|||||||||||||||||||||||||||||||||||||||||||
| Description | The
*PLUSFAX* interface allows for the generation
and sending of FAXes directly from the application
program. When a *PLUSFAX* file is opened
and written to, the output produced is automatically
converted to a PDF and then emailed to a fax server for
subsequent transmission. An account with an internet based service is required to use "*PLUSFAX*". The following options can be used to define the fax output.
All other parameters will be passed to the PDF output driver and can be used to control the margins etc. See PDF Print Interface. |
|||||||||||||||||||||||||||||||||||||||||||
| Configuration | Before
using "*PLUSFAX*", you will
need to create a working directory that will be used to
store the temporary PDF files, the control file
(history.dat) and the 'settings' file. The 'settings' file: The settings file contains information pertaining to the transmission of the faxes. This file is required by the fax interface. It will define the Email account, which will be used to send the faxes, your email server settings, and userids. The values that must be placed in the settings file:
As the fax output will be generated using the PDF drivers built into PxPlus, all PDF output commands and options are supported however, some may not be applicable to fax output (e.g. bookmarks). The settings required will vary between fax suppliers. For example Trustfax.com requires a CODE= and USERNAME= as in the following 'settings' file:
|
|||||||||||||||||||||||||||||||||||||||||||
| User Interface | If
no fax number is provided on the OPEN command, the
PLUSFAX interface will prompt the user to provide it
along with a subject line and option comment for the
cover page. In order to prompt the user for these fields, the system will run either a user supplied program in "*ext/plusfax" or, if not present, a system program in "*ext/system/plusfax". These programs are required to define values in FAXNO$, SUBJECT$, and COVER$. |
|||||||||||||||||||||||||||||||||||||||||||
| Examples | The
following are a couple of examples using
"*PLUSFAX*" for output: This example sends a listing of itself to a fax recipient (Fax demo program):
The example shows a typical report using normal print directives:
Notice that we used %NOTE$ to store the cover page note since, the contents of the note contained a semi-colon. |
|||||||||||||||||||||||||||||||||||||||||||