Here are a few commands to work with printers on Suse Linux.
# To check the status of all printers
lpstat -a
# To check the status of a printer
lpstat -p printer
# To set a default printer
lpoptions -d printer-name
lpq
# To print a file
lp -d printer file
# To remove a print job
lprm -Pprinter job-id
# To check the status of all printers
lpstat -a
# To check the status of a printer
lpstat -p printer
# To set a default printer
lpoptions -d printer-name
lpq
# To print a file
lp -d printer file
# To remove a print job
lprm -Pprinter job-id
sudo -u pkc /usr/sbin/cupsenable HP_LaserJet_6MP
No comments:
Post a Comment