Unix/Linux Printing
D-Link DPR-1020 - User Manual 143
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 (e.g., /var/spool/hp5l).
◊ On Linux systems, create the directory as a subdirectory of /user/spool
/lp.
◊ On BSD/OS, FreeBSD, or NetBSD systems, create the directory as
subdirectory of /var/spool.
4. Change the owner and permissions of the directory so that it is owned and
writable by group daemon, using the following commands: