LFCS · Question #230
The legacy program for sending files to the printer queues from the command line is which of the following?
The correct answer is B. lpr. This question asks to identify the traditional Unix-like command-line utility used to submit print jobs to a printer spooler.
Question
Options
- Alpd
- Blpr
- Clpq
- Dlpp
How the community answered
(26 responses)- A4% (1)
- B85% (22)
- C8% (2)
- D4% (1)
Why each option
This question asks to identify the traditional Unix-like command-line utility used to submit print jobs to a printer spooler.
`lpd` stands for Line Printer Daemon; it is the background service that manages print queues, not the command for sending files to the queue.
`lpr` is the standard command-line utility in Unix-like systems, part of the Line Printer Daemon (LPD) system, used to send files or standard input to a print spooler for printing. It stands for 'line printer remote' or 'line printer request'.
`lpq` is the command used to 'list printer queue,' displaying the jobs currently in the print queue.
`lpp` is not a standard or legacy command for sending files to printer queues.
Concept tested: Linux printing commands (legacy)
Source: https://linux.die.net/man/1/lpr
Topics
Community Discussion
No community discussion yet for this question.