Which of the following commands will print the file putty on the printer hplaserj?

Which of the following commands will print the file putty on the printer hplaserj?

(Choose all that apply)

Which of the following commands will print the file putty on the printer hplaserj?

(Choose all that apply)

A.
lpr -P hplaserj -F putty

B.
lpr -Phplaserj putty

C.
lpc printer=hplaserj file=putty

D.
lpr -p hplaserj -f putty

E.
lpr -P hplaserj putty

Explanation/Reference:
From the man pages:
lpr submits files for printing. Files named on the command line are sent to the named printer
      -P destination[/instance]   Prints files to the named printer.

-P expects, but does not require a space between printer name and option.



Leave a Reply 0

Your email address will not be published. Required fields are marked *