tcl.listptr

Verb: Access/Spooler, Releases: AP and R83

Displays printers.

Syntax

listptr {options}

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'.

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

See Also

Command Name Type Description
tcl.sp-status Verb: Access Displays status of Spooler processes.
tcl.stopptr Verb: Access Stops printer.
tcl.wheres Verb: Access Displays execution status and last command for each process.
spooler.commands Introductory Description of Spooler.
spooler.options Definition Standard Spooler options.
tcl.startshp Verb: Access Starts shared printer under Unix.
tcl.list-ptr Verb: Access see 'listptr'.
tcl.startptr Verb: Access Initializes Spooler-controlled printer.
tcl.sp-assign Verb: Access Designates Spooler assignment options.
tcl.shp-status Verb: Access Display shared printer status.
tcl.listptr.link Verb: Access
tcl.list-ptr.link Verb: Access

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.