[Next] [Previous] [Up] [Top] [Contents]

4.2 Print Commands

4.2.2 lpstat/lpq - check the status of a print job

You can check the status of your print job with lpstat or lpq.

Syntax

lpstat [options]

lpq [options] [job#] [username]

Common Options

lpstat lpq function

-d (defaults to lp) list system default destination

-s summarize print status

-t print all status information

-u [login-ID-list] user list

-v list printers known to the system

-p printer_dest -Pprinter_dest list status of printer, printer_dest

Examples

% lpstat

lp-153 frank 208068 Apr 29 15:14 on lp


Introduction to Unix - 14 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]