mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-23 06:02:12 +01:00
23 lines
313 B
Text
23 lines
313 B
Text
|
# 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
|