Paxar 9800 Series User Manual

Page 18

Advertising
background image

4-2 TCP/IP Network Configuration

NOTE:

The node name in this file does not necessarily need to be the
same as the one that is actually configured into the print server
(the name that appears on the printer self-test), but it is good
practice to make the names the same (however, some operating
systems, such as HP/UX, do not accept the "_" character in the
default name, so for these systems you must use a different
name). In any case, the node name in the /etc/hosts file must
match the node name in the /etc/printcap file.
Some systems, such as HP/UX and AIX allow you to enter the IP
address as the host name when setting up the print queue. If this
is the case, you do not need to configure the hosts file.

2. Choose the binary service on the print server, since it passes data through

unmodified.

B I N A R Y _ P 1

Binary (parallel port)

3. This step applies to the majority of UNIX systems, including Sun

OS (but not

Solaris 2.xx), Silicon Graphics (lpr/lpd option required), DEC ULTRIX, DEC
OSF/1, and Digital UNIX. SCO UNIX users should follow these steps, but
should also refer to the SCO UNIX Configuration section in section 3-A. Users
of RS/6000 AIX, HP/UX, Sun Solaris 2.xx, and other systems that do not use
the printcap file should skip to section 3-A.
Configure the

/ e t c / p r i n t c a p

file on each host computer to specify the local

print queue, the print server name (also called remote machine or rm), and the
print server service name (also called remote printer, remote queue, or rp), and
the spool directory.
An example of a typical

p r i n t c a p

file is as follows:

M o n a r c h 1 | P r i n t e r o n F l o o r 1 : \

: l p = : \

: r m = X C D _ 0 0 3 C 5 1 : \

: r p = B I N A R Y _ P 1 : \

: s d = / u s r / s p o o l / l p d / M o n a r c h 1 :

This will create a queue named

M o n a r c h 1

on the host computer that

communicates to the print server with a node name (rm) of XCD_003C51
and a service name (rp) of BINARY_P1 for printing binary files to the
printer through the spool directory

/usr/spool/lpd/Monarch1.

NOTE:

The rm and rp options are not available on all UNIX systems, so if
necessary check your documentation (or man pages) to determine
the equivalent options.
Users of Berkeley-compatible UNIX systems can use the lpc
command to obtain the printer status:

% l p c s t a t u s

M o n a r c h 1 :

q u e u i n g i s e n a b l e d

Advertising