220-1102 · Question #543
A technician is setting up a printer on a Linux workstation. Which of the following commands should the technician use to set the default printer?
The correct answer is D. lpoptions. To configure printer options, including setting the default printer on a Linux system, the lpoptions command is the appropriate tool.
Question
A technician is setting up a printer on a Linux workstation. Which of the following commands should the technician use to set the default printer?
Options
- Alpr
- Blspool
- Clpstat
- Dlpoptions
How the community answered
(50 responses)- A10% (5)
- B4% (2)
- C2% (1)
- D84% (42)
Why each option
To configure printer options, including setting the default printer on a Linux system, the lpoptions command is the appropriate tool.
The lpr command is used to send print jobs to the printer, not to configure printer settings or set the default.
lspool is not a standard Linux command for managing printers; the command lpstat is used to display CUPS status information, including print queues.
The lpstat command displays the status of the CUPS system, such as available printers, print jobs, and current status, but it does not configure the default printer.
The lpoptions command is used in Linux to display or set printer options and defaults for CUPS (Common Unix Printing System). To set a default printer, a technician would use lpoptions -d printer_name.
Concept tested: Linux printer configuration commands
Source: https://man7.org/linux/man-pages/man1/lpoptions.1.html
Topics
Community Discussion
No community discussion yet for this question.