The remote printer must be mounted on a local mount point.
For example, if the directory /lmc/printers/printer1
existed on the local machine, then the remote printer
lpt1 on server jupiter (user level
security) would require mounting using the following
command:
mount -f LMCFS, printer jupiter/lpt1 /lmc/printers/printer1
Before you could do this, you must configure the printer.
To access a shared printer:
Log in as root on the client.
Create a file called /usr/spool/lp/remote containing
a line with the following format for each remote printer:
printer is the name by which the client knows the remote printer.
The rlcmlp command is provided to
transfer file(s) to the print server.
rlcmlp takes the following options:
-Dremote
Specifies the name of the printer on the print server.
-Ppass
Specifies the plain-text password for access to the printer.
This option is only needed for share-level servers that require a
password to access the printer.
-Ssvr
Specifies the name of the print server.
For example, if you want to give the name printer1
to the remote printer lpt1 on the share-level
server jupiter with password ``clydenw'', the entry should read: