Print Server Administration User’s Guide
80
Setting up Unix TCP/IP Printing
For example, you could define a printer
hp5l
that prints to port
PS-142634-P1
, and a printer
hp5lt
that prints to port
PS-
142634-P1_TEXT
. You graphics files could then be printed to
the
hp5l
printer, and “raw” text files could be printed to the
hp5lt
printer.
Printing from BSD Unix Versions
For “flavors” of the Unix operating system derived from or related
to the BSD releases, such as SunOS 4.x, Linux, BSD/OS,
FreeBSD, or NetBSD, you can use the following procedure to
enable users to print to a printer connected to your D-Link network
print server:
1.
Log in as the superuser (root).
2.
Add an entry for the print server in the host’s
/etc/hosts
file, giving a hostname for the print server’s IP address. A
line in
/etc/hosts
contains an IP address and one or more
aliases for the host. For example:
202.39.74.40
ps-142634 ps-142634.dlink.com.tw
If you use DNS (the Domain Naming Services protocol), you
can add an address record entry to your DNS database for the
print server.
3.
Create a spool directory for the printer:
◊
On SunOS systems, create the directory as a subdirectory
of
/var/spool
, with the same name as the printer.
◊
On Linux systems, create the directory as a subdirectory of
/usr/spool/lp
.
Содержание PS Admin
Страница 6: ......