Easy Tutorial
❮ Linux Comm Bind Linux Comm Rmdir ❯

Linux lpd Command

Linux Command Manual

The Linux lpd command is a resident printer management program that manages local or remote printers based on the content of /etc/printcap.

Each printer defined in /etc/printcap must have a corresponding directory in /var/lpd, where files starting with 'cf' indicate a print job waiting to be sent to the appropriate device. These files are usually created by lpr.

lpr and lpd together form a system that can work offline; when using lpr, the printer does not need to be immediately available or even exist.

lpd automatically monitors the status of the printer, and as soon as the printer goes online, it immediately submits the file for processing. This allows all applications to avoid waiting for the printer to complete the previous job.

Syntax

lpd [-l] [#port]

Parameter Description:

Example

This program is typically executed by programs in /etc/rc.d during the system initialization phase.

Linux Command Manual

❮ Linux Comm Bind Linux Comm Rmdir ❯