*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: lp | Section: 1 | Source: UNIX v10 | File: lp.1
LP(1) General Commands Manual LP(1) NAME lp - printer output SYNOPSIS lp [ option ... ] [ file ... ] DESCRIPTION Lp is a generalized output printing service. It can be used to queue files for printing, check a queue, or kill jobs in a queue. The op- tions are: -d dest Select the destination printer. If dest is list the currently available printers. In the absence of the destination is taken from the environment variable LPDEST, or finally from the file Destination is the standard output. -p proc The given preprocessor is invoked. The default preprocessor is which tries to do the right thing for regular text, troff(1) output, or bitfile(9.5) bitmaps. If no preprocessing is desired (e.g. an ImPress file from is to be printed) may be specified. -q Print the queue for the given destination. For some devices, include printer status. -k Kill the job(s) given as subsequent arguments instead of file names for the given destination. The remaining options may be used to affect the output at a given de- vice. These options may not be applicable to all devices. -c n Print n copies. -f font Set the font (default -H Suppress printing of header page. -i n Select paper input tray options n. The value n may be a comma separated list. -l n Set the number of lines per page to n. -L Print pages in landscape mode (i.e. turned 90 degrees). -m n Set magnification to n. -n n Print n logical pages per physical page. -o list Print only pages whose page numbers appear in the comma-sepa- rated list of numbers and ranges. A range n-m means pages n through m; a range -n means from the beginning to page n; a range n- means from page n to the end. -r Reverse the order of page printing (currently not functional). -x n Set the horizontal offset of the print image, measured in inches. -y n Set the vertical offset of the print image, measured in inches. EXAMPLES eqn paper | troff -ms | lp Typeset and print a paper that contains equations. pr -l100 file | lp -l100 -fCW.8 Print a file in a small font at 100 lines per page. lp -dstdout -H <bitfile >postfile Convert a bitmap to postscript form. Use mpictures(6) macros to insert the output into a troff document. lp -du -H -i2,simplex viewgraphs.dvi will take input from the second paper tray and print single sided, even if the printer defaults to double sided (duplex) output. Do not print a header page. FILES default printer name printer list with interface specification directory of preprocessors where printer jobs go when things go awry SEE ALSO pr(1), blitblt(9.1), plot(1), font(6), postio(8), postscript(8) BUGS Not all options work with all output devices. Any user can kill any job. LP(1)

Navigation Options