HP 3000 Manuals

Controlling the Spooler Process--Other Commands [ Native Mode Spooler Reference Manual ] MPE/iX 5.0 Documentation


Native Mode Spooler Reference Manual

Controlling the Spooler Process--Other Commands 

This section contains other commands that affect the spooler process in
some way or are related to the activity of spooling.

Opening and closing the spooling queue 

In addition to being parameters for the SPOOLER command, OPENQ and SHUTQ
are themselves commands.

The OPENQ command opens the spooling queue for each device and makes it
possible for users to create spool files.  It does not enable you to
print spool files.  The OPENQ command may be entered only from the system
console unless allowed to other users with the ALLOW or ASSOCIATE
commands.  Before spool files can print you must start the spooler.

The general form of the OPENQ command is:

      {ldev [;SHOW]    }
OPENQ {devclass [;SHOW]}
      {devname [;SHOW] }
      {@               }
The SHUTQ command prohibits anyone from creating new spool files but has
no effect on spool files which have already been opened.  It does not 
prevent spool files from printing.  To do that, you must stop or suspend 
the spooler.  The SHUTQ command may be entered only from the system
console unless allowed to other users with the ALLOW or ASSOCIATE
commands.

The general form of the SHUTQ command is:

      {ldev [;SHOW]    }
SHUTQ {devclass [;SHOW]}
      {devname [;SHOW] }
      {@               }

You may enter a logical device number, a device class, a device name, or
@ for either SHUTQ or OPENQ.

Opening the spooling queue.   

To open the spooling queue for all devices in class LP, enter:

     OPENQ LP

To see information about the state of the queues and device(s) (for which
you are opening spooling queues), enter:

     OPENQ LP;SHOW

Closing the spooling queue.   

To close the spooling queue(s) for all devices in class LP, enter:

     SHUTQ LP

To see information about the state of the queues and device(s) for which
you are closing spooling queues, enter:

     SHUTQ LP;SHOW

Globally enabling and disabling open spooling queues.   

To globally enable all open spooling queues that were disabled because
the system ran out of disk space, a file limit was encountered on the
HPSPOOL account or its groups, or the SHUTQ @ command was entered, enter: 

     OPENQ @


NOTE The ;SHOW option cannot be used if the @ option is used with OPENQ.
To globally disable all open spooling queues on your system, enter: SHUTQ @
NOTE The ;SHOW option cannot be used if the @ option is used with SHUTQ.
See chapter 4 and appendix B for more information on OPENQ @ and SHUTQ @. Controlling printer access - the OUTFENCE command The OUTFENCE command does not affect the spooler process directly but you may use it to control access to a spooled printer. The OUTFENCE command enables you to assign a fence or numerical barrier to one or more printers. An output spool file does not print unless its output priority exceeds the outfence. The OUTFENCE command may be entered only from the system console unless allowed to other users with the ALLOW or ASSOCIATE commands. The general form of this command is: [;LDEV=ldev ] OUTFENCE outpri [ {ldev }] [;DEV={devclass}] [ {devname }] The outpri parameter can be any value from 1 to 14. An outfence of 14 prevents any spool file from printing. The ;DEV parameter may be a logical device number, device class, or device name and is optional. The ;LDEV parameter refers only to a printer's logical device number. It also is optional. If ;LDEV and ;DEV are omitted, the command applies to all spoolable printers. To prevent anything from printing on all devices which are members of the device class LP, enter: OUTFENCE 14;DEV=LP To set the outfence to 8 for LDEV 6, enter: OUTFENCE 8;DEV=6 Turning print headers on and off Although not specifically related to the spooler process, you may use the HEADON and HEADOFF commands to produce or eliminate a paper header and trailer page between each printed report. Paper headers may make it easier to physically separate and distribute hardcopy printouts. To produce a printed header and trailer on a specific logical device, enter: HEADON 6 To eliminate the header and trailer, enter: HEADOFF 6 Either command takes effect when the next spool file is started.


MPE/iX 5.0 Documentation