mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-03 14:31:06 +01:00
23 lines
313 B
Plaintext
23 lines
313 B
Plaintext
|
# 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
|