LX0-104 · Question #33
Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?
The correct answer is D. lpr. The lpr command is a legacy program provided by CUPS (Common Unix Printing System) for sending files to printer queues from the command line.
Question
Options
- Alpd
- Blpp
- Clpq
- Dlpr
How the community answered
(47 responses)- A2% (1)
- B4% (2)
- C6% (3)
- D87% (41)
Why each option
The `lpr` command is a legacy program provided by CUPS (Common Unix Printing System) for sending files to printer queues from the command line.
`lpd` (line printer daemon) is the print server daemon itself, not a command for submitting print jobs.
`lpp` is not a standard Unix/Linux command for sending files to a printer queue.
`lpq` (line printer queue) is used to display the status and contents of printer queues, not to send files for printing.
The `lpr` (line printer remote) command is a traditional Unix printing utility that CUPS implements for backward compatibility. It allows users to submit print jobs from the command line to any configured CUPS printer queue, supporting various options for job submission.
Concept tested: CUPS legacy print commands
Source: https://man7.org/linux/man-pages/man1/lpr.1.html
Topics
Community Discussion
No community discussion yet for this question.