Technical data
Setting Up and Maintaining Queues
14.6 Using Queue Options
18. Reset modules assigned to the queue.
The following sections describe how to manage device control libraries.
14.6.8.2 Creating a Device Control Library and Inserting Modules
To create a device control library and insert modules, perform the following steps:
1. Create a device control library by entering a command in the following
format:
LIBRARY/CREATE/TEXT SYS$COMMON:[SYSLIB] filename.TLB
2. Determine the contents of the module—either the text to be inserted or the
escape sequences needed for the printer setup you want. To determine the
proper escape sequences for a printer option, refer to the operation guide for
the specific printer.
3. Create a module file and enter the appropriate escape sequences, carriage
control characters, or text. Create and edit a module file as you would any
other text file. Make sure your text editor does not insert a carriage return or
line feed at the end of your file. This will affect your printer output.
4. Insert the module into the device control library by entering a command in
the following format:
LIBRARY/INSERT/TEXT library-file module-file
Note
To add a module to or delete it from a library, you must stop all output
queues assigned to that library.
Refer to the OpenVMS Command Definition, Librarian, and Message Utilities
Manual for more information about creating libraries and inserting modules.
14.6.8.3 Assigning a Library to a Queue
To assign a device control library to an output queue, use the /LIBRARY qualifier
with INITIALIZE/QUEUE or START/QUEUE in the following format:
INITIALIZE/QUEUE/LIBRARY=filename queue-name
where filename is the name of the library file that contains the selected modules.
Libraries must be in SYS$LIBRARY and must have the file type .TLB. The
default library is SYS$LIBRARY:SYSDEVCTL.TLB. Use the /LIBRARY qualifier
to specify an alternate device control library. For example:
$ INITIALIZE/QUEUE/LIBRARY=LN03DEVCTL LN03_A_QUE
Note
If you specify a value for the /LIBRARY qualifier, do not include the
directory, file type, or version number. The system assumes that the file
is in SYS$LIBRARY and has the type .TLB. If you copy a library file from
another node, be sure that the new library has a unique file name.
14–52 Setting Up and Maintaining Queues










