Printing

Print a file

>_ cat [file] > /dev/lp
copy
>_ cat [file] | lpr
copy
>_ pr -l60 [file] | l pr
copy
>_ lpr [printerName] [file]
copy

View printing queue

>_ lpq
copy

Cancel printing job

>_ lprm - # previous
copy
>_ lprm [jobID]
copy
>_ lprm -a all
copy
>_ cancel [printerName]
copy
>_ cancel -u [user]
copy

Display printer status

>_ lpstat -t
copy

Enable printer

>_ enable [name]
copy

Disable printer

>_ disable [name]
copy
Copied to clipboard
free 100$ digital ocean credit