lpstat
Show status 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}}