mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55: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
|