Spooler queue names and status formats

Spooler queue names (the name of a queue stanza) can be over seven characters in length but only the first seven characters will be displayed in the output of a queue status query. Device names (the name of a device stanza) are limited to five characters in the output of a queue status query.

In spooler queue status queries, remote spooler queues will be indicated twice: once for the local queue, and once for the remote queue on the print server. For example, if /etc/qconfig contains this entry:

myps:
        device = @kricket
        up = TRUE
        host = kricket
        s_statfilter = /usr/lib/lpd/aixshort
        l_statfilter = /usr/lib/lpd/aixlong
        rq = myps
@kricket:
        backend = /usr/lib/lpd/rembak

The command lpstat -pmyps would return the following:

Queue   Dev   Status    Job Files    User      PP %  Blks Cp  Rnk
------- ---   --------- --- -------- --------- -- -  ---- --  ---
myps    @krik READY
myps    myps  READY

The first line of the output indicates that the local spooler queue named myps, with a device stanza whose name is listed as @krik, has a status of READY. The second line indicates that the target remote spooler queue, also named myps, whose device stanza is listed as myps, also has a status of READY. (It is the author's habit to make a local spooler queue name the same as the print server spooler queue name. It's then easy to visually group the two lines in the output of a spooler queue status query.)