Configuring a Remote Printer on Solaris 2.3 and Solaris 2.4
As root, run admintool.
Select "Printer Manager "
Select "Add Printer" from the "Edit Menu"
Enter the Printer Name according to one of the tables below.
If you are running Windows 95, NT 3.51 or NT 4.0 enter one of the following for the "Printer Name":
| Printer Name |
Definition |
| dos-printername |
The file is printed without modification |
| dosff-printername |
The file is printed without modification and a form feed is appended to the job if there is not already on present. |
| unix-printername |
Linefeeds are converted to carriage returns and linefeeds. |
| unixff-printername |
Linefeeds are converted to carriage returns and linefeeds and a form feed is appended to the job if there is not already one present. |
| text-printername |
The output is rendered. This is usually used for printing text files directly to PostScript printers. |
where printername is the name of the printer on the PC.
If the user does not know which to use, use text-printername as the
default.
For example, if you have a printer on the PC called HP3D, enter unixff-HP3D
If you are running Windows 3.1, or Windows 3.11 enter one of the
following for the "Printer Name":
| dos-lpt1 |
dos-lpt2 |
| dosff-lpt1 |
dosff-lpt2 |
| unix-lpt1 |
unix-lpt2 |
| unixff-lpt1 |
unixff-lpt2 |
| text-lpt1 |
text-lpt2 |
Where lpt# is the port that the printer is attached to.
Note:Be ware that there cannot be duplicate
Printer names. Since Solaris does not distinguish queuenames
and doesn't distinguish pc names, to define several
printers use the following syntax for "Printer Name":
| dos-1lpt1 |
... |
dos-9999lpt1 |
| d-1lpt1 |
... |
d-9999lpt1 |
| dosff-1lpt1 |
... |
dosff-9999lpt1 |
| df-1lpt1 |
... |
df-9999lpt1 |
| unix-1lpt1 |
... |
unix-9999lpt1 |
| u-1lpt1 |
... |
u-9999lpt1 |
| unixff-1lpt1 |
... |
unixff-9999lpt1 |
| uf-1lpt1 |
... |
uf-9999lpt1 |
| text-1lpt1 |
... |
text-9999lpt1 |
| t-1lpt1 |
... |
t-9999lpt1 |
In the above table lpt1 can be replaced with lpt2.
Note: text-0001lpt1 is also a valid entry.
Enter the PC's name or ip address for Printer Server.
Select BSD.
Restart hclnfsd or bwnfsd using the following commands:
ps -ef | egrep '(bwnfsd|hclnfsd)'
kil -1 $PID
|