Syntax: fax-mode
The fax-mode command puts you into FAX mode - a mode which
attempts to simplify the creation and modification of aliases
whose expansion values are FAX addresses. In this mode, the DB
command prompt changes to "db.fax>". To exit this mode use the
command exit-mode. (From this mode there is no exit-program
prompt; to immediately exit FAX mode, use the quit-program
command.)
When in FAX mode, aliases created with the add command are given
the attributes mail-address and fax-address. Only addresses with
both of these attributes can be manipulated with the add, copy,
modify, rename, remove, set, and show commands while in FAX mode.
Note, however, that if the "override on" command has been issued,
then all attribute checking is bypassed and no attributes will be
assigned to aliases created with the add command.
In FAX mode, the add and modify commands have a different syntax
then their counterparts in the normal DB mode. (Recall, you can
always tell which mode you're in by the DB prompt: in normal mode
the prompt is "db>"; in FAX mode the prompt is "db.fax>".)
1 – Add (FAX Mode)
Syntax: add alias-name fax-number number domain domain-name
[[item value]...]
To add an alias in FAX mode, the alias name, FAX telephone
number, and domain name (e.g., text-fax.example.com) must all
be supplied. If the FAX telephone number contains any spaces or
commas, then it must be enclosed in double quotes.
Additional items of information can be specified. Note that when
specifying a value for an item, the value must be enclosed in
double quotes if it contains any spaces, commas, or characters
you don't want converted to lower case. Furthermore, any double
quotes appearing in the value must be changed to two consecutive
double quotes. The names of the additional items and their
meanings are:
1-address
The recipient's address can be displayed in one to five lines
on the FAX cover page. These items are used to specify each
individual line of the address. If no address lines are
specified, then no address lines will be displayed on the FAX
cover page. If intermediate address lines are omitted (e.g.,
lines 1 and 3 specified, line 2 omitted), then blank address
lines will be displayed in place of the omitted lines.
authorization
Your site might require you to specify an authorization or
access code in order to send FAXes. You can specify any required
authorization or access codes with this item.
fax-modem-number
The telephone number which the transmitting FAX modem should use
when identifying itself to the receiving FAX device. While the
receiving FAX device might print this number across the top or
bottom of received pages, it is not placed on the FAX by PMDF-
FAX (the sending FAX modem). To control the FAX number which is
displayed on the cover page as your FAX telephone number, use the
"my-fax-number" item.
my-fax-number
The FAX telephone number to display on the FAX cover page.
my-organization-name
The name of your organization, group, or department to display
across the top of each transmitted FAX page.
my-telephone-number
The recipient's telephone number to be printed on the FAX
cover page. If not specified, then no telephone number will be
displayed.
For example, to specify a FAX address for John Doe at Example
Company, Inc., the following command can be issued while in FAX
mode:
db.fax> add john-fax fax-number "(714) 555-1212" domain
"text-fax.example.com" recipient "John Doe" 1-address
"Example" telephone "(714) 555-1212"
db.fax> show john-fax
Alias name: john-fax
Recipient's FAX number: (714) 555-1212
Recipient's name: John Doe
Address line 1: Example
Recipient's telephone number: (714) 555-1212
Domain specification: @text-fax.example.com
[1 entry shown]
db.fax>
Note that all of the values entered were enclosed in double
quotes. This is often the safest policy as it avoids having to
worry about spaces or other characters which can appear in the
values to be specified and it prevents values entered from being
converted to lower case.
recipients-name
The name of the recipient as it will appear on the cover page
of the FAX message. Be sure to enclose the recipient's name in
double quotes so as to not have it converted to lower case. If
not specified, then no recipient's name will be displayed on the
FAX cover page.
send-after
Do not send the FAX until after the specified date and time. The
date and time must be given using the standard OpenVMS date-time
specification format. For example, the date-time specification
"3-FEB-2012 22:35:00" requests that the FAX not be transmitted
until after 22:35 (10:35 PM) on February 3, 2012.
setup
A PostScript file to first process before processing your
message. The filename must specify a full path to the file and
the file must be world readable. Text library modules can also be
specified using the format file-spec(module-name); e.g.,
setup D1:[INIT]PSLIB(LETTERHEAD)
where the text library is the file D1:[INIT]PSLIB.TLB and the
module name is LETTERHEAD.
2 – Modify (FAX Mode)
Syntax: modify alias-name [[item value]...]
With the modify command, various items associated with a FAX
address can be altered or removed, and new items can be added
to the FAX address. To alter or add an item simply specify the
item name and new value. To delete an item, simply give the item
name without any associated value. The domain-name and fax-number
items, described below, cannot be deleted.
In addition to the items which can be specified with the add
command, two additional items can be specified. These items are:
fax-number
The FAX number to send the FAX message to.
domain-name
The domain name associated with the FAX address.
Continuing with the example of the previous subsection, we can
use the modify command to delete the use of the 1-address line
and to change the recipient's telephone phone number:
db.fax> modify john-fax 1-address
[1 entry modified]
db.fax> modify john-fax telephone-number "(714) 555-1212"
[1 entry modified]
db.fax> show john-fax
Alias name: john-fax
Recipient's FAX number: (714) 555-1212
Recipient's name: John Doe
Recipient's telephone number: (714) 555-1212
Domain specification: @text-fax.example.com
[1 entry shown]
db.fax>