
Chapter 6 505
Command Definitions P-R
RESUMESPOOL
RESUMESPOOL
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.