Home »
MCQs »
Linux MCQs
Which argument and value with 'lp' command specify the page orientation while printing a file?
40. Which argument and value with "lp" command specify the page orientation while printing a file?
- -o landscape/portrait
- -o l/p
- -o land/prt
- -or landscape/portrait
Answer: A) -o landscape/portrait
Explanation:
With "ls" command, we can use argument "-0" with value either "landscape" or "portrait" to specify the page orientation. Consider the below command syntax –
lp -d [printer_name] -o landscape/portrait [path or filename]