106
Installing [email protected]
J(file_or_box,
phone_no
[,tokens])
Command that allows a fax to be received as a file (for later transmission with the T()
command) or as a message for a mailbox.
Before using this command, make sure the configuration settings for the physical serial
port have been defined.
file_or_box
A string or variable indicating where the fax is to be stored. It contains either a mail-
box indicating whose message it is or a valid DOS file name for a text file. Use the
complete path to the file unless the file is in C:\AMANDA.
phone_no
The telephone number for the fax device that sends the transmission or a variable con-
taining that number.
Use the empty string to make Amanda wait until a call rings into the appropriate fax
port. (When not in a variable, the empty string must appear in this command as a pair
of double quotation marks—even though some commands allow you to omit them.)
tokens
Optional. A string or variable that defines the actions Amanda takes to connect the
call to the fax port.
This command is used only in Extension fields.
Example:
J(123,"","P(G1)%X%F-H")
sets up a personal fax mail mailbox. In this case, mailbox 123 receives a fax as a mes-
sage and P(G1) plays a greeting such as “Start your fax machine at the tone.”
The following tokens allow for one-call fax transmission:
%X
The system variable that contains the codes needed to get the transfer dial tone on the
current port
%F
The extension of the fax port being used
-H
A hang-up (after pausing a half second to complete an unsupervised transfer)
J
("C:\\FAXES\\FAX1","")
makes Amanda set up one of her fax modems to wait for a call and accept a fax called
C:\FAXES\FAX1. You can use this to fax files to your own Amanda system. For exam-
ple, if you print a text file that contains information for customers and then fax it to
Amanda, Amanda can fax that information out to customers using the T() command.
Failure:
Invalid mailbox
Fax modem not configured properly
Physical port not available
Logical port not configured properly
K<(x[,value])
Command that shifts the values of the %S variables to the left or right.
x
A number (ranging from 0 to 20). When the number is positive, the shift is to the left.
When negative, the shift is to the right.
value
Optional. The data to be placed in the %S variables left empty by the shift. The default
is to perform a circular shift, leaving no variables empty because the value from %S0
moves to %S19, or vice versa, for every shift.
Examples:
K<(1)
shifts the contents of %S0 through %S19 to the left by one location. The contents of
%S19 moves to %S18, the contents of %S18 moves to %S17, etc. The contents of %S0
moves to %S19 because this is a circular shift. None of the previous values are lost.
They are only relocated.
K<(-3,"JOHN DOE")
shifts the contents of %S0 through %S19 to the right three locations, then replaces each
of the first three values (%S0, %S1, and %S2) with the string "JOHN DOE". The last
three values (%S17, %S18, and %S19) are lost.
K<(20,"")
is a quick way to clear all variables, replacing them with the empty string.
Failure:
Does not fail
Alphabetical Token Reference (Continued)
Token Syntax
Description
Содержание [email protected] Version 3.xx
Страница 1: ...Installing AmAndA Work Place Version 3 xx Installer s Guide Edition 7 01...
Страница 4: ...iv Installing Amanda Work Place...
Страница 60: ...52 Installing Amanda Work Place...
Страница 68: ...60 Installing Amanda Work Place...
Страница 132: ...124 Installing Amanda Work Place...
Страница 150: ...142 Installing Amanda Work Place...
Страница 156: ...148 Installing Amanda Work Place...
Страница 194: ...186 Installing Amanda Work Place...
Страница 206: ...198Installing Amanda Work Place...