Quincy Center for Technical Education
Computer Technology Department

Lpr

Line Printer Remote:

A connectivity utility that runs on client systems and is used to print files to a computer running an LPD (Line Printer Daemon) server.

lpr -SServer -PPrinter [-CClass] [-JJobname] [-O option] filename

Parameters

-SServer

Specifies the name or IP address of the computer that has the printer attached to it.

-PPrinter

Specifies the name of the printer for the desired queue.

-CClass

Specifies the content of the banner page for the class.

-JJobname

Specifies the name of this job.

-O option

Indicates the type of file. The default is a text file. Use -Ol (lowercase 'L') for a binary file (for example, PostScript).

filename

The name of the file to be printed.