Installing under UNIX/LINUX
164 AX3000 Models 80 and 85 - User's Manual
Each auxiliary port using the tty protocol (see Chapter 3.5.4) is identified by the name of the
AX3000 (from the /etc/hosts file) and a special keyword. For example:
axel1 aux1 /dev/ptyp12 /dev/ttyp12
axel1 aux2 /dev/ptyp13 /dev/ttyp13
axel2 parallel /dev/ptyp2 /dev/ttyp2
An auxiliary port controlled by the tty server is seen as a Unix/Linux local port (like a multi I/O
board).
Data can be sent to an auxiliary port by:
- Either a redirection to the ttyp (example: "cat file > /dev/ttyp12")
- Or declaring a local printer attached to the ttyp (/dev/ttyp12). This printer is used through the
lp command.
8.3.2 - The LPD Protocol
Set the auxiliary port as shown in Chapter 3.5.2.
Use the appropriate UNIX system management tool to add a remote printer. At least, two
parameters are requested:
- The name of the remote host: enter the AX3000's hostname (refer to /etc/hosts),
- The name of the printer: this is the Printer Port Name entered when the AX3000 was set up.
Run the lp command to use this printer.
Note: some options of the lp command (number of copies, banner, etc) cannot be used, because
the AX3000 is not a UNIX server and has no hard disk on which to run a spooler.
8.3.3 - The rsh Command
The rsh command (or rcmd on SCO OpenServer) can be used to print a file.
The rsh parameters are:
- The hostname or the IP address of the device,
- A keyword which is the AX3000 auxiliary port name. This name has been set through the
AX3000 Set-Up (see Chapter 3.5.6).
To print a file, the rsh command reads data from 'standard input' (stdin) and sends this data to
one of the AX3000’s auxiliary ports. For example:
$ rsh axname parallel < file <CR>
In this example, axname is the name of the AX3000 (refer to /etc/hosts file) and parallel is
the Printer Port Name of the AX3000 auxiliary port.
8.3.4 - Using Transparent Mode
One of the auxiliary or logical ports should be selected as the default printer port which will be
controlled by escape sequences.
Select the [Configuration]-[Terminal]-[Miscellaneous] dialog and set the 'default printer port'.
This default port can only be used if no network service (lpd, tty, etc) is currently using it.