MKNETPR(1M) Printing Tools MKNETPR(1M)
mknetpr - provide access to a remote printer
mknetpr [<local printer name>] [<remote host>] [<remote printer name>]
mknetpr provides access on a local machine to a printer that is connected
to a networked remote machine. mknetpr can be run either interactively or
in batch mode.
mknetpr will run interactively if any or all of its command line
arguments have not been specified.
If run interactively mknetpr will first query the user and display:
Spool files:
1. To another SGI workstation?
2. A printer connected to a non-SGI workstation that
supports the BSD printing protocols (files will be
converted to PostScript before being sent to a BSD
print spooler)?
3. Directly to a network printer. A network printer is
a printer connected to the network with a network card
or network adaptor (i.e. an HP JetDirect card)?
If 1 is selected then mknetpr continues.
If 2 is selected mknetpr will invoke mkbsdnetpr(1M) to configure a
printer client to a remote system. The BSD printing protocols will be
used to communicate with the remote system.
If 3 is selected mknetpr will invoke mkjtpr(1M). IMPORTANT: mkjtpr(1M)
is part of the Impressario(1) product. You will not see item 3 listed if
Impressario(1) is not installed on the system.
If all command line arguments are specified, mknetpr will not display the
above menu and will assume that the remote print server is an SGI system.
local printer name is the name you wish to give the printer on your
machine (see lpadmin (1M)). remote host is the name of the machine that
has the printer physically attached to it. Note that this machine must
be accessible over the network. remote printer name is the name of the
printer on the remote machine.
After running this program, you might consider making this printer the
default printer using lpadmin(1M). This command is only usable by the
system administrator.
Page 1
MKNETPR(1M) Printing Tools MKNETPR(1M)
Network printing to a remote system is achieved by submitting the print
job to the local print queue. The interface file for the network submits
the print job to the remote printer using the netprint(1M) utility.
If the remote system is an SGI it must permit the local machine to login
using the id lp. To permit machines to login as lp, the remote machine's
lp account passwd entry should not have a password. If a password must be
used on the lp account, the program addclient(1M) must be run on the
remote SGI system to add the local machine to its privileged access list.
If the remote system uses BSD printing commands, make sure that you have
remote access to the system. Typically, this is done by adding an entry
for the local system to the /etc/hosts.equiv or /etc/hosts.lpd file on
the remote system.
/usr/spool/lp/log
/usr/spool/lp/interface/<local printer name>
accept(1M), addclient(1M), enable(1), lp(1), lpadmin(1M), lpsched(1M),
lpshut(1M), lpstat(1), mkj
netprint(1M)
rmprinter(1M).
PPPPaaaaggggeeee 2222 [ Back ]
|