nerdexam
LPI

102-500 · Question #241

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. See the full explanation below for the reasoning.

Question

Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

Options

  • Alpd
  • Blpp
  • Clpq
  • Dlpr

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    10% (2)
  • D
    81% (17)

Community Discussion

6
Wesley A.Wesley A.Jun 19, 2026

lpr is the one you want. It is the classic BSD print command that CUPS keeps around for backward compatibility, and it is exactly what you use to drop a file into a print queue from the command line, so D is your answer.

13
Samuel O.Samuel O.Jun 26, 2026

lpr is the one you want, it goes back to the old BSD printing system and CUPS keeps it around so scripts and habits from twenty years ago still work. You hand it a file and a queue and it does its job, same as it always did.

4
Brenda K.Brenda K.Jun 26, 2026

lpr is your answer, and this is a fast pick so do not waste time second-guessing it. CUPS keeps lpr around as a legacy compatibility command that accepts a filename and ships it straight to the default or specified print queue, same as it did in the old BSD printing system.

2
Bao N.Bao N.Jun 26, 2026

lpr is the one, it is the classic BSD print command that CUPS keeps around for backward compatibility so old scripts and habits still work. You pass it a filename and it drops the job right into the queue, same as it did back in the SysV days.

0
Carlos M.Carlos M.Jun 26, 2026

Pretty sure this is C, lpq, because that is the command I keep seeing tied to CUPS compatibility in my study material and it handles the queue interaction directly from the command line. Anyone else getting C on their practice runs?

-2
Samuel O.Samuel O.Jun 27, 2026

Carlos, the answer is D, lpstat, because that is the command specifically designed to report printer status and queue information, while lpq is the older BSD-style tool for viewing queue contents but not the primary status reporting command tested here.

0
Full 102-500 Practice