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

lpstat — Display status information about the current classes, jobs, and printers. More information: <https:/

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

Problem

How to use the lpstat command: Display status information about the current classes, jobs, and printers. More information: <https://keith.github.io/xcode-man-pages/lpstat.1.html>.

Solution

lpstat — Display status information about the current classes, jobs, and printers. More information: <https://keith.github.io/xcode-man-pages/lpstat.1.html>.

Show a long listing of printers, classes, and jobs:
lpstat -l


Force encryption when connecting to the CUPS server:
lpstat -E


Show the ranking of print jobs:
lpstat -R


Show whether or not the CUPS server is running:
lpstat -r


Show all status information:
lpstat -t

Code Snippets

Show a long listing of printers, classes, and jobs

lpstat -l

Force encryption when connecting to the CUPS server

lpstat -E

Show the ranking of print jobs

lpstat -R

Show whether or not the CUPS server is running

lpstat -r

Show all status information

lpstat -t

Context

tldr-pages: osx/lpstat

Revisions (0)

No revisions yet.