Managing locations, Adding a location and connecting it to a device, Displaying a location’s current attributes – HP NonStop G-Series User Manual
Page 317: Example
![background image](/manuals/396922/317/background.png)
Managing the Spooler Using Spoolcom
Guardian User’s Guide — 425266-001
15 -17
Managing Locations
Managing Locations
You can add a location to a spooler, and display and modify location attributes from
your spooler subsystem at any time. To delete a location, there must not be any jobs
currently in that location.
Adding a Location and Connecting It to a Device
To add a location to your spooler subsystem and connect it to a device, enter:
> SPOOLCOM
) LOC [ #group. ] dest , DEV $device
Example
To connect location #PRIN.DEFAULT to device $LP and location #PRIN.CHAR to
device $PRINT, enter:
) LOC #PRIN.DEFAULT, DEV $LP
) LOC #PRIN.CHAR, DEV $PRINT
Displaying a Location’s Current Attributes
To display the current attributes of a given location, enter:
) LOC #loc, STATUS DETAIL
For more information about location attributes, see
TIMEOUT
number-of-
retries
Specifies the number of times the spooler retries a failed
write to the device. The default value is 360 times.
TRUNC [ ON | OFF ]
Tells the standard print process whether to truncate or
wrap around lines longer than the device width. The
default value is TRUNC OFF, which means that the
ends of long lines are printed on the next sequential line.
WIDTH
device-width
Specifies the maximum line length for the device. If you
do not specify a line length, the print process obtains the
record size with a DEVICEINFO procedure call. (See
what this is by using SCF STATUS for the device and
looking at the record size column.) The range of values
is 1 through 32767: the default value is -1.
Table 15-5. Print Device Attributes and DEV Subcommands (page 3 of 3)
SPOOLCOM DEV
Attributes and Subcommands
Description and Default Value