Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You’ll likely need to install the correct printing systems. Use: sudo apt-get up

ID: 3795044 • Letter: Y

Question

You’ll likely need to install the correct printing systems. Use:

sudo apt-get update && sudo apt-get install cups cups-client lpr

1. List the printer queues on your unix system.
   Q1: what command do you use to list the printer queues? What is the result?

2. Type echo “This is a test” | lpr.
   Q2: Rerun the command to list the printer queue. Do you see a difference now? If so, what?

3. Remove the job from the queue.
   Q3: What command do you use? Rerun the command that lists the queues. What is the result?

Explanation / Answer

A)

this command will list all the printer jobs running on UNIX

B) echo “This is a test” | lpr

After running this command No difference is there.

C) To remove job you need to use following command

lprm jobid