lp-papi

Langue: en

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

Section: 1 (Commandes utilisateur)

NAME

       lp - submit print requests

SYNOPSIS

/usr/bin/lp [-c] [-m] [-p] [-s] [-w] [-d destination ] [-f form|media ] [-H handling ] [-n copies ] [-o option ] [-P page-list ] [-q priority ] [-S charset|print-wheel ] [-t title ] [-T content-type  [-r]] [-y mode-list ] [ file  ... ]

DESCRIPTION

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

OPTIONS

The following options are recognized by lp :
-c

specifies that the file(s) should be copied before job submissino completes. the defaul behaviour is to print by reference (if possible).
-m

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

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

supress request-id message after job submission.
-w

specifies that email should be sent on completion. This option sets the job's rfc-1179-mail attribute to true
-d
destination
send request to the named destination. If no destination is specified, the contents of the LPDEST environment variable are used. If the LPDEST environment variable is not set, the contents of the PRINTER environment variable are used. If the PRINTER environment variable is not set, the value "lp" is used.
-f
form | media
set the requested form or media to print on. This option sets the job's media attribute to form | media
-H
handling
set the job handling. This option sets the job's job-hold-until attribute to handling
-n
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
-o
option
set the job options. This option sets the job's lp-options attribute to option
-P
page-list
set the job page-list. This option sets the job's page-list attribute to page-list
-q
priority-level
set the job priority. This option sets the job's job-priority attribute to priority-level
-S
charset
set the job charset. This option sets the job's lp-charset attribute to charset
-t
title
set the job title. This option sets the job's job-name attribute to title
-T
content-type
set the job content. This option sets the job's document-format attribute to content-type
-y
mode-list
set the job mode. This option sets the job's lp-modes attribute to mode-list
file(s)
the files containing data to print.

SEE ALSO

lpstat(1), cancel(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.