AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

LP (l) LP (l) -ooption Specify printer-dependent or class-dependent options . -r -ttitle -w -X -a. name Several such options may be collected by specifying the -o keyletter more than once. For more information about what is valid for options, see Mo dels in lpadmin (lM). Remove file after printing. Print title on the banner page of the output. Write a message on the user's terminal after the files have been printed. If the user is not logged in, then mail will be sent instead. Display error message if print job is not sucessful. Display id if print job is successful. Note that lp (l) is silent by default. Assign name to print job. Name will display in name field by lpqueue. Cancel cancels line printer requests that were made by the lp(l) command. The command line arguments may be either request ids (as returned by lp (l)) or printer names (for a complete list, use lpstat(l)). Specifying a request id cancels the associated request even if it is currently printing. Specifying a printer name cancels the request which is currently printing on that printer. In either case, the cancellation of a request that is currently printing frees the printer to print its next available request. FILES fusrfspooljlp/* SEE ALSO BUGS enable(l), lpstat( l), mail( l). accept(lM), lpadmin( lM), lpsched( IM) m the UNIX System Administrator's Manual . The -r, -w, and -a options are not available for Version 3.5 - 2 -

LPSTAT ( 1 ) LPSTAT ( l ) NAME lpstat - print LP status information SYNOPSIS lpstat [ options ] DESCRIPTION Lpstat prints information about the current status of the LP line printer system. If no options are given, then lpstat prints the status of all requests made to lp (l) by the user. Any arguments that are not options are assumed to be request ids (as returned by lp ) . Lpstat prints the status of such requests. Options may appear in any order and may be repeated and intermixed with other arguments. Some of the keyletters below may be followed by an optional list that can be in one of two forms: a list of items separated from one another by a comma, or a list of items enclosed in double quotes and separated from one another by a comma and/or one or more spaces. For example: -u"userl, user2, user3" The omission of a list following such keyletters causes all information relevant to the keyletter to be printed, for example: lpstat -o prints the status of all output requests. -a[ list ] Print acceptance status (with respect to lp ) of destinations for requests. List is a list of intermixed printer names and class names. -c[ list ] Print class names and their members. List is a list of class names. -d Print the system default destination for lp . -o[ list ] Print the status of output requests. List is a list of intermixed printer names, class names, and request ids . -p[ list ] Print the status of printers. List is a list of printer names. -r Print the status of the LP request scheduler -s Print a status summary, including the status of the line printer scheduler, the system default destination, a list of class names and their members, and a list of printers and their associated devices. -t Print all status information. -u[ list ] Print status of output requests for users. List is a list of login names. -v[ list ] Print the names of printers and the pathnames of the devices associated with them. List is a list of printer names. FILES fusr/spool/lp/* - 1 -

LPSTAT ( 1 ) LPSTAT ( l )<br />

NAME<br />

lpstat - print LP status information<br />

SYNOPSIS<br />

lpstat [ options ]<br />

DESCRIPTION<br />

Lpstat prints information about the current status of the LP line<br />

printer system.<br />

If no options are given, then lpstat prints the status of all requests<br />

made to lp (l) by the user. Any arguments that are not options<br />

are assumed to be request ids (as returned by lp ) . Lpstat prints<br />

the status of such requests. Options may appear in any order and<br />

may be repeated and intermixed with other arguments. Some of<br />

the keyletters below may be followed by an optional list that can<br />

be in one of two forms: a list of items separated from one another<br />

by a comma, or a list of items enclosed in double quotes and<br />

separated from one another by a comma and/or one or more<br />

spaces. For example:<br />

-u"userl, user2, user3"<br />

The omission of a list following such keyletters causes all information<br />

relevant to the keyletter to be printed, for example:<br />

lpstat -o<br />

prints the status of all output requests.<br />

-a[ list ] Print acceptance status (with respect to lp ) of destinations<br />

for requests. List is a list of intermixed printer<br />

names and class names.<br />

-c[ list ] Print class names and their members. List is a list of<br />

class names.<br />

-d Print the system default destination for lp .<br />

-o[ list ] Print the status of output requests. List is a list of<br />

intermixed printer names, class names, and request ids .<br />

-p[ list ] Print the status of printers. List is a list of printer<br />

names.<br />

-r Print the status of the LP request scheduler<br />

-s Print a status summary, including the status of the<br />

line printer scheduler, the system default destination, a<br />

list of class names and their members, and a list of<br />

printers and their associated devices.<br />

-t Print all status information.<br />

-u[ list ] Print status of output requests for users. List is a list<br />

of login names.<br />

-v[ list ] Print the names of printers and the pathnames of the<br />

devices associated with them. List is a list of printer<br />

names.<br />

FILES<br />

fusr/spool/lp/*<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!