LISTPTR


Displays printer or formqueue status.

 

SYNTAX

LISTPTR {options}

 

SYNTAX ELEMENTS

Option Explanation
n displays the specified Printer/Formqueue
n-m displays a range of Printer/Formqueue from n to m inclusive

 

NOTES

LISTPTR has a jCL output interface. The status of the requested printer/formqueues are written into the secondary input buffer,separated by spaces or attribute marks depending on the type of jCL program.

 

EXAMPLE 1

PRINTER --- FORMQ --- PAGE STATUS DEVICE
TYPE NUMBER SKIP
LPTR     1 F1 3 KILLED /dev/lp
PROG    20 F20 2 PRINTING rsh HostB -l spooler
PROG    30 F39 1 NO DEVICE 0

The printer number is a reference to the Formqueue number. This number can be matched to Formqueues created with Formqueue name Fn, where n is the Form queue number. The page skip, status and device fields are as per SP-JOBS.

 

EXAMPLE 2

1134 1171 1 1 127 127 3

Shows typical output to the secondary input buffer of a jCL program. 1134 is the LISTPTR error message identifier. 1171 means that the printer/formqueue is inactive, the printer number is 1, the formqueue number is 1, 127 is reserved and 3 is the number of page skips.


Spooler