Running telnet, 5 running telnet – Ricoh AP1400/AP2000 User Manual

Page 273

Advertising
background image

Chapter

7 - 16

7.4.2.1 Setting Up a BSD Remote Printer to Use lpd/

To set up a remote printer on the host that sends jobs to Network Interface Board using
printer resident lpd, add an entry to the /etc/printcap file on your host for each printer you
use. The steps are described below.

1.

Open the /etc/printcap file. Make an entry naming the Network Interface Board as the
remote host and PORT1 as the remote printer name. A typical printcap entry is shown
below:

<printer_name>\

(for example, lprprinter)

:lp=:\

:rm=<remote_host>:\

(for example, name as entered in /etc/hosts)

:rp=PORT1:\

:sd=/usr/spool/lpd/<printer_name>:

(for example, spool directory on system used to spool data

and control files)

This entry will send jobs spooled at /usr/spool/lpd/<printer_name> to the printer designated
<printer_name> to be printed at port 1 (the internal connection to the printer) of the Network
Interface Board designated as <remote_host>.

2. Create the spooling directory. For example, type:

mkdir /usr/spool/lpd/<printer_name>

3. To print via the spooler, use the lpr command. Type:

lpr -P<printer_name> <file_name>

Installation and testing is done. You are now ready to print.

7.5

Running Telnet

The Telnet utility uses the standard remote terminal protocol to configure the IP address,
lpd/lpr printers, and other parameters on your system. Use the following guidelines to run
Telnet. You have the same functionality with the HTML pages accessed by MAP or a Web
Browser, as described in Chapter 3.

Most often, you make selections from menus by toggling between one choice or another,

by selecting/deselecting or enabling/disabling an item.

Press Enter, when not selecting an item. This will return you to a previous menu.

If you do not make a menu selection for 2 minutes, you get a "Two Minute Warning" that

within 2 more minutes your Telnet session will end. This ensures that one user does not
leave a session idle for too long.

Advertising