Linux Command Library


compatibility program to get information about printers

- List printers present on the machine and whether they are enabled for printing:
lpstat -p

- Show the default printer:
lpstat -d

- Display all available status information:
lpstat -t

- Show a list of print jobs queued by the specified user:
lpstat -u [user]

lpstat [-A] [-d] [-l] [-r] [-R] [-s] [-t] [-a[list]] [-c[list]] [-f[list]] [-o[list]] [-p[list]] [-P] [-S[list]] [list] [-u[login-ID-list]] [-v[list]] [-V] [-n] [-Tdbgflags]

lpstat is a (partial) simulation for the Solaris SystemV R4 print facilities. Please use lpq instead.

list is a list of print queue names

use authentication specified by AUTH environment variable
destination status
class status
print default destination
forms status
job or printer status
each -n increases number of status lines (default 1)
maximum number of status lines
printer status
paper types - ignored
scheduler status
summary status information - short format
character set - ignored
all status information - long format
job status information
printer mapping
verbose mode
debug flags
-a, -c, -f, -o, -n, -N and -p
produce a long status format.

lpd.conf(5), lpc(8), lpd(8), checkpc(8), lpq(1), lprm(1), checkpc(8), printcap(5), lpd.perms(5), pr(1).

LPRng was written by Patrick Powell <>.

LPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng developer mailing list is; subscribe by visiting or sending mail to with the word subscribe in the body. The software is available via

play store download app store download
Sonnenallee 29, 12047 Berlin, Germany

Privacy policy
Successfully copied