Difference between revisions of "Common Administration Task"

From rbachwiki
Jump to navigation Jump to search
(Created page with "== Managing Printers=== '''print queue folder''' /var/spool/cups '''To see a list of all printers on the system and their status''' lpstat -t cupsaccept printername cupsdi...")
 
Line 14: Line 14:
'''Print multiple files'''
'''Print multiple files'''
  lp -d printername /etc/host /etc/issue
  lp -d printername /etc/host /etc/issue
[[File:Lpoptions.png|thumb]]

Revision as of 20:33, 10 February 2019

Managing Printers=

print queue folder

/var/spool/cups

To see a list of all printers on the system and their status

lpstat -t
cupsaccept printername
cupsdisable printername
cupsreject

Print to a printer

lp -d printername /etc/inittab # this prints the inittab file
# the -d commandspecify the destination printer name
lpoptions -d printername # sets default printer

This information is stored in the /etc/cups/lpotions file Print multiple files

lp -d printername /etc/host /etc/issue
Lpoptions.png