Technical data

Setting Up PC-NFS
24.2 Providing PC-NFS Print Services
24.2 Providing PC-NFS Print Services
To configure PC-NFS print services, you must create and export a spool directory
and define two system logical names. Follow these steps when configuring your
print server for printing by PC-NFS clients:
1. If one does not already exist, create a spool directory.
2. Map the OpenVMS device to the spool directory path name. For example:
TCPIP> MAP "/PC_PRINT/WORK" DSA31:
3. Make the path available with the ADD EXPORT command as follows:
TCPIP> ADD EXPORT "/PC_PRINT/WORK" /HOST=* /OPTIONS=TYPELESS_DIRECTORIES
4. Create or edit the SYS$STARTUP:TCPIP$PCNFS_SYSTARTUP.COM file to
include the following logical name definitions:
DEFINE /SYSTEM TCPIP$PCNFSD_SPOOLDEV DSA31:
DEFINE /SYSTEM TCPIP$PCNFSD_SPOOLEXPORT "/PC_PRINT/WORK"
The logical name TCPIP$PCNFSD_SPOOLDEV specifies the device name for
the spool device; TCPIP$PCNFSD_SPOOLEXPORT specifies the exported
spool directory.
24.3 Managing PC-NFS Print Queues
PC users can associate the name of the DOS printer you are configuring with an
OpenVMS print queue and print files to the associated queue. PC clients cannot,
however, manage NFS print queues from their PC. To manage print queues, you
must log in to either a privileged account or the PC’s proxy account on the NFS
server host, and enter DCL commands to:
List jobs queued from the PC
Cancel queued jobs
Obtain a list of available print queues
Obtain status of a particular print queue
24.4 PC-NFS Authentication
When accessing files on an NFS server, a PC user obtains authentication once
from any host running PC-NFS. The user can also access NFS files on that host
or other hosts, even if the users UID/GID has proxy mappings to a different
OpenVMS account on each TCP/IP host.
However, with PC-NFS printing, if the PC user obtains authentication from one
host, the user can only print successfully on other TCP/IP Services hosts that
have a valid OpenVMS account for the same user name.
24–2 Setting Up PC-NFS