SP-STATUS Command

The SP-STATUS command lists the current status of all system printers. The SP-STATUS report provides the following information: whether or not printers are active, what (if anything) is printing on them, what form queues have been assigned, and how many pages are to be ejected between print jobs.

Format

SP-STATUS [n [-m]] [options]

Parameter(s)

n

Number of a particular printer.

n-m

Specifies a range of printer numbers.

options

Can be any of the following:

B

Lists all possible printers, whether allocated or not.

N

Suppresses automatic paging.

P

Sends the output to the printer.

Options need not be enclosed in parentheses and can be entered in any order. They need not be separated by spaces or commas.

Description

The SP-STATUS report gives the following information:

spooler activity

Can be ACTIVE or INACTIVE.

printer type

mvBase printer are SERIAL.

ine status

Can be ON LINE or OFF LINE.

active status

Can be ACTIVE, INACTIVE, or STOPPED.

account name

Name of the account from which the print file was generated.

assignment

Is either the printer device number or the process (line) number on which a printer is running.

output queues

Form queues that are currently attached to the printer.

page skip

Number of pages to be skipped between each print file.

print file #

Number of a print file that is currently being printed.

process (line) #

Number of the process from which the print file was generated.

size

Size of the print file, shown only if the file is closed.

The SP-STATUS command produces a report similar to this. This example shows an SP-STATUS report for an active printer:

THE SPOOLER IS ACTIVE.

 

PRINTER # 0 IS SERIAL, ON LINE AND ACTIVE.

THE PRINTER IS DEFINED AS SERIAL PRINTER # 0.

PRINT FILE BEING OUTPUT IS ELEMENT 26, A CLOSED FILE FOR PROCESS # 4 GENERATED ON ACCOUNT ORDERS, WHICH IS 1 FRAMES LONG.

ASSIGNED OUTPUT QUEUES: 0.

THE NUMBER OF INTER-JOB PAGES TO EJECT IS 0.

 

>

The following example lists the status of all printers, whether allocated or not:

>SP-STATUS B

 

THE SPOOLER IS ACTIVE.

 

PRINTER # 0 IS SERIAL, ON LINE AND ACTIVE.

THE PRINTER IS DEFINED AS SERIAL PRINTER # 0.

PRINT FILE BEING OUTPUT IS ELEMENT 26, A CLOSED FILE FOR PROCESS # 4 GENERATED ON ACCOUNT ORDERS, WHICH IS 1 FRAMES LONG.

ASSIGNED OUTPUT QUEUES: 0.

THE NUMBER OF INTER-JOB PAGES TO EJECT IS 0.

 

PRINTER # 1 IS SERIAL AND INACTIVE.

THE PRINTER IS RUNNING ON PROCESS 3.

ASSIGNED OUTPUT QUEUES: 1.

THE NUMBER OF INTER-JOB PAGES TO EJECT IS 0.

 

PRINTER # 2 IS UNALLOCATED.

PRINTER # 3 IS UNALLOCATED.

PRINTER # 4 IS UNALLOCATED.

PRINTER # 5 IS UNALLOCATED.

PRINTER # 6 IS UNALLOCATED.

   .      .

   .      .