Configuration of Specific Types of Devices As LAT Services

Creating a Logical Device to Access a Printer Service

The following example shows how to run LATCP to create a logical device. This example configures the logical port LTA1925 to access the LAT service PRINT.

$RUN SYS$SYSTEM:LATCP

LCP> CREATE PORT LTA1925: /NOLOG

LCP> SET PORT LTA1925: /APPLICATION /NODE=LAT_08002B054DE0

/SERVICE=PRINT LCP> EXIT

$COPY/LOG FILE.TXT LTA1925:

Configuring a Logical Device to Connect a Specific Port

You can configure a SET PORT /PORT = PORTNAME qualifier to connect to specific port as shown in the following example:

LCP> SET PORT LTA1925: /APPLICATION /NODE=LAT_08002B054DE0

/PORT=PORT 5

Using a Remote Printer Command File

The following example shows a remote printer command file,

REMOTE_PRINT.COM. This command file sets up a remote printer and remote print queue. You can use this file as a template to set up subsequent remote printers.

You should enter the remote printer command file name in the LTLOAD.COM file. This ensures that remote printers and remote print queues are set up automatically at system startup.

Note

For OpenVMS Version 5.4-1 and later, use LAT$SYSTARTUP.COM instead of

LTLOAD.COM.

$! This command procedure sets up the local characteristics of the $! applications devices for remote printers and sets up the print $! queues for these remote printers. These devices should have been $! set up previously by the LTLOAD.COM command file. NOTE: The queue $! manager must be running before executing this file.

$!

$! Set up local characteristics for the applications devices. $!

$SET TERM LTA1925: /PERM /DEVICE=LNO3 /WIDTH=60 /NOBROAD- / SPEED=4800

$!

$! Set the protection on the devices so that only the symbiont can $! access them. $! $SET PROT=(S:RWLP,O,G,W) /DEVICE LTA1925:

$!

$! Set the devices spooled

12-10 Configuring and Managing LAT Services