Technical information

15 Exit
admintool
and test the installation by printing a file.
You can print PostScript or text files by typing one of the following
commands:
lpr -P <
printer name
> <
filename
>
or
lp -d <
printer name
> <
filename
>
Configuring Sun Solaris CDE
1 Log in as
root
.
2 Assign an IP address and IP name to the printer, as described in “Step 3: Assigning an
IP Address to the Printer,” earlier in this chapter.
3 The IP address must be entered in any of the following: DNS, NIS, or the
/etc/hosts
file.
The most straightforward configuration is to use /etc/hosts. However,
your network administrator may choose to use DNS or NIS.
4Run
admintool
.
admintool &
5From the Browse menu, choose Printers.
6From the Edit menu, choose Add and then “Access to Printer.”
7Enter the queue name that you want to use in the Printer name field.
8Enter the printer’s hostname in the Print Server field.
9Click Add.
10 Exit
admintool
.
11 In a terminal window, type:
lpadmin -p <
printer name
> -I postscript
This command converts all non-PostScript jobs to PostScript before
forwarding the job to the printer. If this command is not entered, text jobs
sent to the printer using the
lp and lpr command will not print.
94
Chapter 4