lprintq
system administrationLinux/Unix
The lprintq command is one of the most frequently used commands in Linux/Unix-like operating systems. lprintq List the print queue
Quick Reference
Command Name:
lprintq
Category:
system administration
Platform:
Linux/Unix
Basic Usage:
lprintq [options] [arguments]
Common Use Cases
Syntax
lprintq [options]
Options
| Option | Description |
|---|---|
-a |
List the queues for all printers |
-l |
Display detailed (long) information |
-P printer |
Specify the printer to query |
-h hostname |
Specify the host where the printer is located |
-u username |
Display only jobs for the specified user |
--help |
Display help information |
--version |
Display version information |
Examples
How to Use These Examples
The examples below show common ways to use the lprintq command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.