Loading

lp and lpr command line options

The following table gives an overview of generally known lp or lpr command line options.

The table indicates whether the command line option is supported by the varioPRINT 140 Series or not. Not supported options are recognised by the printer, but they do not result in any action. Some command line options are handled locally on the user’s host system, and as such will never be known at the printer. These options are marked as "n.a." (not applicable).

Table 1. Mapping lp and lpr options on LP processing requests

lp option

lpr option

LP processing request

supported

d<dest>

-P<printer>

select print queue

yes

-n<copies>

-#<copies>

produce number of copies

yes

-o nobanner

-h

Do not produce a banner page

no

-o <option>

printer-specific options other than “nobanner”

no

-C<class>

print class on banner page

no

-t<title>

-J<jobname>

print title / job on banner instead of (first) Data File name

yes

-1<font>

-2<font>

-3<font>

-4<font>

mount font for troff filter

mount font for troff filter

mount font for troff filter

mount font for troff filter

no

no

no

no

-c

-s

use copy / symbolic link for Data File

n.a.

-r

remove file after spooling

n.a.

-m

-m

send email upon completion

no

-w

write message on user terminal upon completion

no

-i<indent>

indent each line with spaces

no

-p

use pr filter

n.a.

-T<title>

use title for pr filter

n.a.

-w<font>

specify page width for pr

n.a.

-l

print control characters

n.a.

-t

use troff filter

n.a.

-n

use ditroff filter

n.a.

-d

use tex (DVI) filter

n.a.

-g

use plot filter

n.a.

-v

use verbatim/raster filter

n.a.

-c

use cifplot filter

n.a.

-f

use Fortran carriage control filter

n.a.

-T<type>

use filter to convert specified content type

n.a.

-y<modelist>

use (locally defined) filters before printing

n.a.

-f<formname>

print on specified form

n.a.

-H<handling>

special request handling

n.a.

-P<pagelist>

print only specified pages

n.a.

-q<prio>

specify job priority

n.a

-s

suppress LP messages

n.a.

-S<charset>

specify character set or print wheel

n.a.

NOTE

There may be specific command line options available in specific LP host implementations, which are not mentioned in the above table.

Example of print job submission (BSD style commands)

Print 3 copies of each named file:

lpr -PQoceprt -#3 invoice.pcl document.pcl

Example of print job submission (Windows style commands)

lpr -Sprinter -Pqueue printfile