216 U23841-J-Z915-6-76
Gateways Interoperability
Defining the local gateway
The local gateway is defined as follows on a host which, if possible, should have
a constant connection to the BSD spooler to which the connection is to be
established:
xpadd -gtw local_gw -tp LOCAL -ho local_host -ga 515 \
-np TCP -pp BSD [-aa] [-op option_list]
This command configures a local gateway named local_gw which administers
the physical connection to the BSD system. For local_gw any name can be
used; it does make sense, however, to use a name which indicates on which
host the gateway is configured. With the option -ho local_host you specify the
name of the host which is to act as the gateway to the BSD system from the local
Xprint V7.0 domain.
The option -ga 515 specifies that the port 515 is to be used for accessing the
BSD print services. If the BSD system uses a different port number for the print
services (see /etc/services file on the BSD host), you must specify the
relevant port number here.
The port number is very important as no two gateways with the same port
number can run at the same time on a system.
The option -np TCP defines that the TCP/IP protocol is used. No other protocol
can be specified. For the connection to BSD printer spoolers the print protocol
must be selected with the option -pp BSD. With the -aa option you can define
that the gateway is activated automatically each time Xprint V7.0 is started.
The option -op option_list can be used to adjust the behavior of the local
gateway. The following options/values are possible:
"MODE:COMPATIBLE"
This option is used to send requests to a BSD server. It requires the local
gateway to act as a SUN BSD lp client. This option must be specified if
jobs are rejected by remote BSD lpd daemons for no obvious reason.
For example: for all local gateways defined in "-bl", the option
"MODE=COMPATIBLE" must be set if the partner gateway represents an
ATT lp spooler system.
"PI=<first_port_number_client>"
"PA=<last_port_number_client>"
These two options are important for receiving requests from remote BSD
clients. The two values define the port range the remote BSD client must
use for sending jobs to the local gateway or receiving jobs from it. Default
values are "PI=721" and "PA=731".
i