Managing the Printing Hardware [ Using Your System The User's Guide ] MPE/iX 5.0 Documentation
Using Your System The User's Guide
Managing the Printing Hardware
There are particular commands that are used in managing the spooler and
the printers. Several methods of stopping and restarting the hardware
are available. Each method has a slightly different effect.
To keep all files from printing
Printing can be halted for all files in a number of ways. The following
list provides several variations depending on your needs.
* Alter the print priorities of all output spool files to a level
lower than the outfence. This method changes the output priority
of every spool file currently in the queue to a priority lower
than the outfence. Notice that this affects only those spool
files that are in the queue when this command is entered. Any new
spool file entered in the queue will not be effected. In the
following example, the print priorities are lowered to 1.
:LISTSPF Return
:SPOOLF O@;ALTER;PRI=1 Return
:LISTSPF Return
* Raise the outfence to a level higher than any output spool file.
This is helpful if you need to manage a large number of printouts.
You can then alter individual spool files to the higher priority
in the sequence that you want. In the following example, the
outfence is increased to 12.
:OUTFENCE 12 Return
* Take the printer offline. (Refer to the user's manual for your
printer for an illustration.) This is often used to stop printing
quickly to fix a paper jam. Spool files continue to accumulate in
the queue.
To stop a file that is printing
To stop a file that is currently printing, suspend the spooler with the
SPOOLER command and ;SUSPEND parameter. This can also be used to stop
printing quickly to fix a paper jam. This command can be entered from
the system console only.
Example:
:SPOOLER 113;SUSPEND Return
LDEV 113, as used in this example, is commonly used as the logical device
number for the Series 9X7LX system's printer. Check with your system
administrator, as this could vary depending upon how your system is set
up.
To finish printing one file
To finish printing the current file but not let anything else print,
suspend the spooler using the SPOOLER command and the ;SUSPEND and
;FINISH parameters:
:SPOOLER 113;SUSPEND;FINISH Return
LDEV 113, as used in this example, is commonly used as the logical device
number for the Series 9X7LX system's printer. Check with your system
administrator, as this could vary depending upon how your system is set
up.
To resume printing
The SPOOLER command and the RESUME parameter are used to resume spooling
after the spooler has been suspended. After this command takes effect,
printing begins on the next page.
:SPOOLER 113;RESUME Return
LDEV 113, as used in this example, is commonly used as the logical device
number for the Series 9X7LX system's printer. Check with your system
administrator, as this could vary depending upon how your system is set
up.
To resume printing from a particular place
To specify the page from which to resume printing, use the RESUME and
OFFSET= parameters. A positive number in the OFFSET= parameter specifies
the page number on which to begin printing. In the following example,
the printing starts at page 4, no matter where print was suspended:
:SPOOLER 113;RESUME;OFFSET=4 Return
In the following example, printing resumes back four pages from where
printing was suspended, or at the beginning of the file, if less than
four pages have been printed:
:SPOOLER 113;RESUME;OFFSET=-4 Return
LDEV 113, as used in this example, is commonly used as the logical device
number for the Series 9X7LX system's printer. Check with your system
administrator, as this could vary depending upon how your system is set
up.
MPE/iX 5.0 Documentation