tcl.listptr Verb: Access/Spooler

tcl.listptr

Command tcl.listptr Verb: Access/Spooler
Applicable release versions: AP, R83
Category Spooler (24)
Description displays the printer control block status for all printers.

The report has the following format:

Page Dev or
Type Number Output Queues Skip Line # Status

"printer type" is either serial or parallel.

"number" is the printer number. See "startptr".

"output queues" are the queues assigned to this printer. (3 maximum)

"page skip" is the number of pages to skip between print files.

"dev or line#". If the device is a serial printer, this displays the port.number. If the device is a parallel printer, it displays the printer number.

"status" is the current printer status: "active" means the printer is printing, initiating or terminating a report. "inactive" means the printer is inactive. If it is also stopped, the "startptr" verb may be used. "stopped" means the printer is set to stop. "Unallocated" means that the printer has never been started, or has been deleted by an "sp-kill (d)" command, or has been lost due to a control block error. The printer may be started using the "startptr" command.

The "list-ptr" verb is a synonym for "listptr".
Syntax listptr {options}
Options printer.number{-printer.number} Specifies beginning printer number, or beginning through ending printer numbers.

b Lists both allocated and unallocated printers. An unallocated printer is a printer "gpiocb" (general purpose input/output control block) with no printer assigned to it. (An empty table entry).

n Activates nopage function on output to terminal.

p Directs output to system printer, via the Spooler.
Example
listptr
Page  Dev or
Type Number Output Q's Skip Line Status
serial   0   0           1    13  inactive
serial   1   3   4   5   1    11  inactive
serial   2  11  12       1    15  inactive
serial   4   6   7       1    14  inactive
serial   7  13           1    99  active
serial   8   1  98       0    74  inactive
serial   9  99           0    19  stopped

listptr 2-5b
Page  Dev or
Type Number Output Q's  Skip Line Status
serial   2  11  12       1    15  inactive
serial   3   0   0   0   0     0  unallocated
serial   4   6   7       1    14  inactive
serial   5   0   0   0   0     0  unallocated
Purpose
Related tcl.sp-status
tcl.stopptr
tcl.wheres
spooler.commands
spooler.options
tcl.startshp
tcl.list-ptr
tcl.startptr
tcl.sp-assign
tcl.shp-status
tcl.listptr.link
tcl.list-ptr.link