:: krowemoh

Thursday | 26 DEC 2024
Posts Links Other About Now

previous
next

Linux Printer Commands

2023-05-08
linux, printers, sysadmin

Sending a print job:

lp -d printer6 file.txt

See the status of a printer:

lpstat -p printer6
lpstate -l

Adding a remote printer:

lpadmin -p printer6 -v ipp://192.168.7.31/printers/PRINTER_NAME

Adding a remote printer:

lpadmin -p printer6 -v lpd://192.168.7.31/pr

Enable a printer:

cupsenable printer6

Accept jobs on a printer:

accept printer6

Remove a printer:

lpadmin -x printer6