HPlogo Task Reference: HP 3000 Series 9X8LX Computer Systems > Chapter 2 Performing Tasks Using MPE/iX Commands

Managing the Printing Process

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

There are particular commands that are used in managing the spooler and the printers. Several methods of stopping and restarting the print process 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 affected. 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 if the printer does not place itself 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.

Example:

   :SPOOLER 6;SUSPEND Return

LDEV 6, as used in this example, is commonly used as the logical device number for the Series 9X8LX 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 6;SUSPEND;FINISH Return

LDEV 6, as used in this example, is commonly used as the logical device number for the Series 9X8LX 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.

   :SPOOLER 6;RESUME Return

LDEV 6, as used in this example, is commonly used as the logical device number for the Series 9X8LX 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 printing was suspended:

   :SPOOLER 6;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 6;RESUME;OFFSET=-4 Return

LDEV 6, as used in this example, is commonly used as the logical device number for the Series 9X8LX system's printer. Check with your system administrator, as this could vary depending upon how your system is set up.

Feedback to webmaster