sp-status Command

The sp-status command displays the status of all spooler-controlled devices.

Syntax

sp-status {options}

Parameter(s)

options

printer.number
{-printer.number}

Designates a specific printer, or range of printers, to display, and must be between 0 and the maximum printer number, inclusive.

b

Outputs status of all printers, allocated and unallocated.

n

No pause; suppresses pause at the end of the page on the terminal display.

p

Directs output to the system printer, via the spooler.

Description

If no options are specified, the status of the spooler and all allocated printers displays. The printer status may be one of the following:

active

Printer is currently printing a report.

inactive

Printer is currently idle.

stopped

Printer has been stopped with a stopptr command, or is set to stop once it becomes idle.

unallocated

Printer has never been started, or has been deleted from the spooler with an sp-kill command using the delete option. The printer may be started again with the startptr command.

Example(s)

sp-status

The spooler is inactive.

Printer # 0 is serial, inactive, and on line.

The printer is running on line 13.

Assigned output queues: 0.

The number of inter-job pages to eject is 1.

See Also

listptr Command, Options, sp-assign Command, startptr Command, stopptr Command, what Command, wheres Command