lpq — Display the Contents of a Print Queue


/usr/ucb/lpq [-P destination][-l][+ [interval]][request-ID][user] 


The lpq command displays the information about the contents of a print queue. A print queue comprises print requests that are waiting in the process of being printed.

lpq displays the following information to the standard output.

  • The user name of the person associated with a print request.

  • The position of a print request in the print queue.

  • The name of file or files comprising a print request.

  • The job number of a print request.

  • The size of the file requested by a print request. File size is reported in bytes.

Normally, only as much information as fits on one line is displayed. If the name of the input file associated ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.