Task 3
service cups status or lpstat -r
service cups start
launch internet
http://localhost:631
Administration tab
check: allow remote administration
click add printer
name: laser
location: room 2501
description: HP LaserJet 1320n
continue
device: AppSocket/HP JetDirect
continue
device URI: socket://<ip>:9100
continue
select: HP - HP LaserJet1320 - enter uname and passwd
cd /opt/lampp/htdocs/xampp/img
convert <file>.jpg <file>.ps
lp -d hp1320 <file>
lpq -P hp1320
file <file> >> /root/final
lpstat >> /root/final
lpq -aP hp1320 >> /root/final
lprm <job#)