HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 6 Command Definitions P-R

RESUMESPOOL

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Resumes suspended spooler output to a spooled device.

Syntax

RESUMESPOOL ldev;BACK [ nnn FILES nnn PAGES ]

RESUMESPOOL ldev;FORWARD [ nnn FILES nnn PAGES ]

RESUMESPOOL ldev;BEGINNING

Parameters

ldev

The logical device number of a spooled device.

BACK

Instructs the spooler to back up nnn files or nnn pages and resume printing at that point. (Refer to "Operation Notes.")

FORWARD

Instructs the spooler to step forward nnn files or nnn pages and resume printing at that point. (Refer to "Operation Notes.")

BEGINNING

Instructs the spooler to resume printing at the beginning of the file which had been previously suspended.

nnn

The number of files or pages you wish the spooler to backspace or space forward when printing a RESUME. (Must be an integer between 1 and 256, inclusive.)

FILES or PAGES

Informs the spooler process which unit of measure to use when printing a RESUME. For the purposes of this command, FILE is defined as the text appearing between FOPEN intrinsic statements within the spoolfile. (Refer to "Operation Notes.") Using the FILES parameter is not allowed on the HP 2680A Page Printer or an HP 2608S CIPER-Protocol Printer. PAGE is the literal page (usually 60 lines or skip to channel 1), as output by the spooler to the printer.

Operation Notes

If you specify only the ldev parameter, the printer resumes printing at the beginning of the highest-priority spoolfile. Otherwise, the printer resumes printing the previously ACTIVE spoolfile.

Always overestimate the number of files or pages you need when using the BACK parameter, or underestimate the number when using the FORWARD parameter. This is the only way to ensure getting all the output you need, since partial pages and header pages affect the page count. However, if you instruct the spooler to go BACK further than the beginning of the file, an error message is displayed on the system console and printing resumes at the beginning of the file. Similarly, an error message is displayed if you instruct the spooler to advance FORWARD beyond the point where files exist. In this case, printing does not resume until a new command is issued.

By using the SPOOK utility with mode control ON, you can determine where each FOPEN intrinsic occurs within a spoolfile. This is useful, for example, when you are compiling, preparing, and running large programs, and printing the entire output is unnecessary.

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. It may be executed only at the console unless distributed to users with the ALLOW or ASSOCIATE command.

Examples

To resume output to logical device number 6 at the beginning of the file, enter:

  RESUMESPOOL 6;BEGINNING

To resume output to logical device number 6 and reprint the last two pages, enter:

  RESUMESPOOL 6;BACK 2 PAGES

To resume output to logical device number 6 and print the highest priority spoolfile, enter:

  RESUMESPOOL 6

Related Information

Commands

SUSPENDSPOOL

Manuals

Performing System Operation Tasks

Feedback to webmaster