Checking the Status of Printers with the LISTPTR Command

Use the LISTPTR command to get information about printers. For each printer the report lists:

The LISTPTR command produces a report such as the following:

PRINTER ASSIGNMENTS

 

16:41:16

PRINTER

OUTPUT QUEUES

PAGE

DEV OR

STATUS

TYPE

NUMBER

 

SKIP

PROCESS #

 

SERIAL

0

0

0

6

INACTIVE

This report lists the currently defined printer on the system. Serial printer 1 has form queue 0 assigned to it and is running on process 6. It is currently inactive. The printer does not skip any pages between print jobs.

The LISTPTR command also places information in the secondary input buffer for access by a Proc. Proc control of the Spooler is covered later on in this section. Another topic in this section discusses the LISTPEQS command, which describes the status of the printer entry queues. There are also two other commands typically used by the system administrator: SP-STATUS, to monitor the activity of the Spooler, and LISTABS, to check on the printer assignments for all users.

Perform this step to check the status of printers:

  1. Type this command line at TCL:

  2. LISTPTR [n [-m]] [options]

    Parameter(s)

    n

    Number of the printer.

    n-m

    Specifies a range of printer numbers.

    options

    Parentheses are not required:

    B

    Lists information about all printer control blocks, whether allocated or not.

    N

    Suppresses automatic paging.

    P

    Sends the output to the printer.

See Also

Using mvBase Printers

Overview of Printer Operation

Starting a Printer with the STARTPTR Command

Restarting a Printer with the STARTPTR Command

Stopping a Printer with the STOPPTR Command

Removing a Printer from the System with the SP-KILL Command