Gasboy CFN Series CFN II Quick Reference Uživatelský manuál Strana 12

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 56
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 11
CFN II Quick Reference
8 C09159 Rev. 2238
SENDSLOW <string> string is sent one
char. at a time paced about 1/4 second apart.
Note: This command may be used to
cause a modem to dial, etc., by sending
the appropriate modem command. Often
a break may be used to cause the modem
to hang up the phone.
Wait option pauses until a string matching the
specified string (or any of a list of strings) is
received or until timeout is reached:
PORT WAIT <option-list> FOR <string>
[<string> ...]
The <option-list> is replaced by one or more
of:
TIME <seconds> is time to wait, defaults
to 30 seconds
CASE string is case sensitive
SPACE length of white space in target is
significant
MAX <integer> give up after that many
characters are received
QUIET <integer> give up if host silent that
many seconds
VAR <variable> target matched is returned
in <variable>
ECHO display characters as received
The keyword FOR signals the end of the option
list and the beginning of the string list. Each
string may contain control codes (for example,
~0D or ^M) or wildcard characters (@s).
If any string contains internal spaces, it must be
enclosed in quotes (‘‘this string’’).
The return code is the number of the string that
was matched (for example, 1 if the first (or only)
string was matched).
Receive option captures incoming characters in
variable and/or file:
PORT RECEIVE [<until-list>] (VAR
<variable> | FILE[APPEND] <fname>)
The <until-list> is replaced by one or more
of:
MAX <integer> get the given number of
characters (defaults to 39 if VAR, 80 if
FILE)
END <string> until any character in the
string is encountered (this option may
appear multiple times), defaults to LF
and FF
TIME <seconds> timeout in seconds,
defaults to 30
QUIET <seconds> give up if line quiet for
given number of seconds
PACKET terminated on receipt of packet,
returns 0 (may combine with END)
VAR <variable> is the user variable to hold
the data
FILE <filename> name of a file to hold the
data, if file exists, it is overwritten
FILEAPPEND <fname> if file exists,
received data is added at the end.
Note: the terminator character is not
included in the string. If a terminator
character is found, the return code of n
means the nth character in the END
string was found.
Flush option discards pending input:
PORT FLUSH
Close option relinquishes control of port:
PORT CLOSE
The following error codes are used by all
variants of the PORT command:
0 Success
100 Syntax error
101 Bad port
102 Bad baud
103 No channel open
104 Timeout
105 Quiet timeout
106 Max. chars termination
107 Terminated with ^C
108 Can’t create file
109 LRC didn’t check in packet
110 Port busy
Non-printing Characters: In any data string in
one of the commands, non-printing characters
may be represented in hex or control-letter form.
For example, CR may be represented by ~0D or
^M.
prattend a shift-change command to print attendant
sales.
Options: [-?] [-an] [-sn] [-gn] [-on] [-tn(mm)] [-
p] [-e] [-f flatfile] [-yYYMMDDHHMM]
[-nx(-m)] [-x] [infile]
-? displays this message
-a displays totals for attendant ‘n’. if none, or
-a All, gives a totaled report of all
-sn gives report for shift n
-gn use ‘n’ digits for attendant number
-on offset of ‘n’ digits into card data
-tn(mm) designates tender type n and subtype
mm to report
-p processes the previous journal file
-e gives separate report for each attendant
found
-f outputs raw data into ‘flatfile’
-y begin time for shift (YYMMDDHHMM)
Zobrazit stránku 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 55 56

Komentáře k této Příručce

Žádné komentáře