This section describes how to install and configure the DCE FaxBox/30 FAX modem.
As both the spooler for the DCE FaxBox/30 and the FAX receive detached process, FAX_TO_DATA, issue $QIO calls with a buffer size of 2048 bytes, the system SYSGEN parameter MAXBUF must exceed 2048 bytes. As the amount by which MAXBUF must exceed the size of a $QIO buffer varies with versions of OpenVMS, it is best to set MAXBUF comfortably above 2048; for instance, 2560 bytes. Check the setting of MAXBUF as follows:
$ SET DEFAULT SYS$SYSTEM: $ RUN SYSGEN SYSGEN> USE ACTIVE SYSGEN> SHOW MAXBUF Parameter Name Current Default Min. Max. Unit Dynamic -------------- ------- ------- ------- ------- ---- ------- MAXBUF 5416 2048 1700 64000 Bytes DIf the current value of MAXBUF is less than 2560, then set it to at least 2560. Be sure to set and save it for both the ACTIVE and CURRENT parameter set. As this parameter is a dynamic parameter, you do not need to reboot your system before any changes will take effect.
37.5.1.1 Connecting to a terminal server port
The DCE FaxBox/30 FAX modem must be connected to a terminal server port
which supports CTS/RTS modem control. XON/XOFF flow control may not be
used. No other configuration is supported. The terminal server port
must support either 9600 or 19200 baud transmission speeds. As shipped,
the modem is configured to operate at 9600 baud (8 data bits, 1 stop
bit, no parity) and use CTS/RTS flow control. If possible, use a
straight 25 wire RS232 cable. (Straight here means that pin N on the
DTE end is wired to pin N on the DCE end, N = 1, 2, 3, ..., 25.) If you
have fewer than 25 wires, then the important RS232 signals to wire are
pins 2, 3, 4, 5, 6, 7, and 20 (TXD, RXD, RTS, CTS, DSR, GND, and DTR).
Many of the terminal server port characteristics have no effect on the operation of PMDF-FAX: all I/O operations are done via $QIO calls in PASTHRU mode (IO$M_NOFORMAT). Critical settings are made on a temporary basis (IO$_SETMODE) by the G3_TO_FAX channel when conversing with the FAX modem. However, the LT device should, at a minimum, be set as follows
$ SET TERMINAL/PERM/ALTYPEAHD/NOTYPE_AHEAD/NOHANG/EIGHTBIT lt-device-nameThe LAT port itself should be set REMOTE, with the only enabled characteristics being Input Flow Control and Output Flow Control. When the LT device associated with the port is created, be sure to create it as a non-queued device with the /NOQUEUE qualifier.
37.5.1.2 Setting modem defaults
Before using the FAX modem with PMDF-FAX, various modem defaults must
be set. These defaults are set by connecting to the modem and manually
transmitting a series of modem commands to the modem. These commands
are discussed in Chapter 9 of the manual User Manual for
FaxBox/30 supplied with the FaxBox/30; refer to that manual should
you have any difficulties with the following steps.
Connect to the FAX modem from OpenVMS with the SET HOST/DTE command:
$ ALLOCATE LTA1123: %DCL-I-ALLOC, _ACME$LTA1123: allocated $ SET TERM/TYPE_AHEAD LTA1123: $ SET HOST/DTE LTA1123: %REM-I-TOQUIT, connection established Press Ctrl/\ to quit, Ctrl/@ for command modeIn place of LTA1123: in the above command, use the appropriate LAT device name.
After connecting with the modem, enter the modem's setup mode by typing the two characters ^p:
^pThe modem should respond with a sequence similar to
F141C4.2 - SetupNote that
^p
here does not mean "CONTROL
p" but rather the two ASCII characters "^" and
"p". Furthermore, note that the characters you type are not
echoed by the modem, that you do not need to press return, and that the
case of the characters is important: you cannot use ^P in place of ^p.
You should now be in the modem's setup mode. The following settings should be made:
TBN=C BBN=C SAV=YIt is important that these, and subsequent commands, be entered just as shown; do not press return after entering each command. If a command is successfully entered, the modem will reply with OK. No reply is generated when an incorrect command is input.
DPD=B
HBD=P SFS=DOtherwise, issue the single command
SFS=C
CSI=xxxxxxxxxxxxxxxxxxxxwith
xxxxxxxxxxxxxxxxxxxx
a 1--20 character
string containing the number of the telephone line to which the FAX
modem will be attached or, alternatively, the telephone number of a FAX
machine to which you'd like recipients of your FAXes to direct their
FAX replies. For example,
CSI=714 621 5319
After issuing the above commands, issue the command
^tIf all went well, the FAX modem should respond with a message similar to
Saving parameters in EEPROM Done! <50 01JAN90 1200 : FAXBOX RESTARTED > <09 01JAN90 1200 : FAX LINE - NORMAL, FREE MEMORY - 8K >This message may appear all garbled if, amongst the changes, you also changed the line speed setting.
The following Example 37-10 depicts a sample setup session with the FAX modem.
Example 37-10 Example DCE FaxBox/30 setup session
$ ALLOCATE LTA1123: %DCL-I-ALLOC, _ACME$LTA1123: allocated $ SET TERM/TYPE_AHEAD LTA1123: $ SET HOST/DTE LTA1123: %REM-I-TOQUIT, connection established Press Ctrl/\ to quit, Ctrl/@ for command mode ^p F141C4.2 - Setup SAV=Y OK TBN=C OK BBN=C OK SFS=C OK CSI=714 621 5319 OK ^t Saving parameters in EEPROM Done! <50 01JAN90 1200 : FAXBOX RESTARTED > <09 01JAN90 1200 : FAX LINE - NORMAL, FREE MEMORY - 8K > CTRL\ %REM-S-END, control returned to node LINUS:: $ DEALLOCATE LTA1123: $