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 putty
E.
lpr -P hplaserj putty
Explanation:
lpr command is used to send the printing job. If printer is not specified then it will send printing job to default printer. To specify the printer name should use the -P
option.
Example:
lpr -Pprintername -#numberofcopies filename
-# or -K specify the number of copies.