CS 141 Homework Assignment #7

In this homework, I show you the exact commands to type. Just follow the instructions.

your task what to type
Check the status of the 3 printers on our class system and note that p206 is disabled and the others are not. Also notice that all 3 printers still accept print jobs.
lpstat -t
print 2 jobs to p206
date | lp -d p206
lp -d p206 /classes/s2007spr/141/classnotes/class4
find your 2 print jobs in the queue, one small (about 30 chars) one larger (about 5599 chars). Write down the request ID's of each of your jobs (which you will need later to cancel the request).
lpstat -t
lpstat -t | grep xxx   # where xxx is your 3 char login
Ask the instructor to confirm that your 2 print jobs are in the queue.
remove your 2 print jobs from the queue
cancel p206-###
cancel p206-###
Ask the instructor to confirm that your 2 print jobs are out of the queue.