lpr-papi

Langue: en

Version: PAPI BSD Commands (mandriva - 22/10/07)

Section: 1 (Commandes utilisateur)

NAME

       lpr - submit print requests

SYNOPSIS

/usr/bin/lpr [-P destination ] [-# copies ] [-C class ] [-J job ] [-p  [-T title ] [-i indent ] [-w width ]] [-(1|2|3|4) font ] [-m] [-h] [-r] [-s] [-filter_option] [ file  ... ]

DESCRIPTION

lpr submits print jobs. Files listed on the command line are sent to the destination. If no files are listed on the command line, lpr sends standard input to the destination.

OPTIONS

The following options are recognized by lpr :
-P
destination
send request to the named destination. If no destination is specified, the contents of the PRINTER environment variable are used. If the PRINTER environment variable is not set, the contents of the LPDEST environment variable are used. If the LPDEST environment variable is not set, the value "lp" is used.
-#
copies
set the number of copies to print. The default number of copies to print is 1. This option sets the job's copies attribute to copies
-C
class
set the job class. This option sets the job's rfc-1179-class attribute to class
-J
name
set the job name. This option sets the job's job-name attribute to name
-T
title
set the job pr(1) title. This option sets the job's pr-title attribute to title The -p option must be set for this option to take effect.
-i
indent
set the job pr(1) indentation. This option sets the job's pr-indent attribute to indent The -p option must be set for this option to take effect.
-w
width
set the job pr(1) width. This option sets the job's pr-width attribute to width The -p option must be set for this option to take effect.
-1
font
set the job regular font . This option sets the job's rfc-1179-font-r attribute to font
-2
font
set the job italics font . This option sets the job's rfc-1179-font-i attribute to font
-3
font
set the job bold font . This option sets the job's rfc-1179-font-b attribute to font
-4
font
set the job special font . This option sets the job's rfc-1179-font-s attribute to font
-h

specifies that a burst page is not desired. This option sets the job's job-sheets attribute to none
-m

specifies that email should be sent on completion. This option sets the job's rfc-1179-mail attribute to true
-r

specifies that the file(s) should be removed after submission.
-s

specifies that the file(s) should be printed by reference (if possible). The default behaviour is to copy the file(s) before job submission completes.
-
filter_option
notifies the print service that the file(s) are not simple text files, but instead contain a specified format of data.
l
file(s) contain raw data. This option sets the job's document-format attribute to application/octet-stream.
o
file(s) contain PostScript data. This option sets the job's document-format attribute to application/postscript.
p
file(s) contain data to be run through pr(1). This option sets the job's document-format attribute to application/x-pr.
c
file(s) contain cifplot data. This option sets the job's document-format attribute to application/x-cif.
d
file(s) contain dvi data. This option sets the job's document-format attribute to application/x-dvi.
f
file(s) contain fortran data. This option sets the job's document-format attribute to application/x-fortran.
g
file(s) contain plot data. This option sets the job's document-format attribute to application/x-plot.
n
file(s) contain ditroff data. This option sets the job's document-format attribute to application/x-ditroff.
t
file(s) contain troff data. This option sets the job's document-format attribute to application/x-troff.
v
file(s) contain raster image data. This option sets the job's document-format attribute to application/x-raster.
file(s)
the files containing data to print.

SEE ALSO

lpq(1), lprm(1), papi(3)

NOTES

Print jobs are assumed to contain one type of data. That type of data is either specified on the command line or defaulted to plain/text Copyright 2003 Sun Microsystems, Inc. All rights reserved
Use is subject to license terms.