HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lpstat — Show status information about printers. More information: <https://manned.org/lpstat>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
lpstatcommandprintersshowstatuscliinformationabout

Problem

How to use the lpstat command: Show status information about printers. More information: <https://manned.org/lpstat>.

Solution

lpstat — Show status information about printers. More information: <https://manned.org/lpstat>.

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


List print jobs queued by a specific user:
lpstat -u {{user}}

Code Snippets

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

List print jobs queued by a specific user

lpstat -u {{user}}

Context

tldr-pages: common/lpstat

Revisions (0)

No revisions yet.