
Settings and Printing
Network
Network
Maintenance and Spec.
Setup in UNIX
139
■
Step 2: Adding the printer to UNIX systems
Perform the following steps to add the printer as a network printer to a UNIX systems.
When editing the hosts file, contact your network administrator.
1
Log in as root.
# login root
2
Edit your /etc/hosts file to add the printer as a network printer to your system.
(Example)
The printer's IP Address is "172.16.xxx.xxx" and the host name is "dpcl21m".
172.16.xxx.xxx
dpcl21m
# DP-CL21M Printer
3
Confirm the connection to the network by using ping command.
# ping dpcl21m
■
Step 3: Setting up print queues
Set up a print queue to use the network printer depending on your system environment.
[For Solaris 2.6]
1
Create Printer Queue.
(1) Log in as root.
# login root
(2) Add print server name.
Example: adding printer queue name as "dpcl21mlp"
# lpadmin -p dpcl21mlp -m netstandard -o protocol=bsd
-o dest=dpcl21m:lp -v /dev/null
The "lp" after ":" is the remote printer queue name.
(3) Enable printer queue:
# usr/sbin/accept dpcl21mlp
# usr/bin/enable dpcl21mlp
2
• Print using "lp" command. For details, refer to the Solaris manual.
# lp -d dpcl21mlp <file name>