lpstat (printer stats and information) cli

lpstat -p | grep printer | cut -d” ” -f2
List queue name of connected printer(s)

lpstat -p
To find out what printers are installed

lpadmin -x Printer_Name
To remove a printer

lpstat -t
Display all printer information

lpstat -v
device information

lpstat -W completed

lpstat -W completed -u user1,user2

lpstat -W not-completed -u
*** All users, list not completed jobs

sudo cancel -a -x
*** clear print history and queue

lpinfo -m
*** Lists print queues installed

Thanks: https://unix.stackexchange.com/questions/123634/how-to-show-the-cups-printer-jobs-history
Manage Printers via Command Line in OS X
https://www.computerhope.com/unix/ulpstat.htm

PrinterProxy error: https://community.jamf.com/t5/jamf-pro/10-11-non-admin-user-can-t-print-printerproxy-printer-proxy/td-p/93351

rm -rf /Users/<>/Library/Printers

ln -s /Library/Printers/Installed_Printers /Users/<>/Library/Printers