mirror of
https://github.com/cheat/cheat.git
synced 2025-09-04 11:08:29 +02:00
new cheatsheets
This commit is contained in:
22
cheat/cheatsheets/cups
Normal file
22
cheat/cheatsheets/cups
Normal file
@ -0,0 +1,22 @@
|
||||
# Manage printers through CUPS:
|
||||
http://localhost:631 (in web browser)
|
||||
|
||||
# Print file from command line
|
||||
lp myfile.txt
|
||||
|
||||
# Display print queue
|
||||
lpq
|
||||
|
||||
# Remove print job from queue
|
||||
lprm 545
|
||||
or
|
||||
lprm -
|
||||
|
||||
# Print log location
|
||||
/var/log/cups
|
||||
|
||||
# Reject new jobs
|
||||
cupsreject printername
|
||||
|
||||
# Accept new jobs
|
||||
cupsaccept printername
|
Reference in New Issue
Block a user