nerdexam
CompTIA

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.

Essential System Services

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

(47 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    6% (3)
  • D
    87% (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.

Alpd

`lpd` (line printer daemon) is the print server daemon itself, not a command for submitting print jobs.

Blpp

`lpp` is not a standard Unix/Linux command for sending files to a printer queue.

Clpq

`lpq` (line printer queue) is used to display the status and contents of printer queues, not to send files for printing.

DlprCorrect

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

#CUPS#lpr#printing#print queue

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice