|
|
1.1 ! root 1: .TH LP 1 ! 2: .CT 1 writing_output comm_dev ! 3: .SH NAME ! 4: lp \- printer output ! 5: .SH SYNOPSIS ! 6: .B lp ! 7: [ ! 8: .I option ... ! 9: ] ! 10: [ ! 11: .I file ... ! 12: ] ! 13: .SH DESCRIPTION ! 14: .I Lp ! 15: is a generalized output printing service. ! 16: It can be used to queue files for printing, ! 17: check a queue, or kill jobs in a queue. ! 18: The options are: ! 19: .TF -p\ \fIproc\fP ! 20: .TP ! 21: .BI -d " dest" ! 22: Select the destination printer. ! 23: If ! 24: .I dest ! 25: is ! 26: .LR ? , ! 27: list the currently available printers. ! 28: In the absence of ! 29: .LR -d , ! 30: the destination is taken from the environment variable ! 31: .BR LPDEST , ! 32: or finally from the file ! 33: .FR /usr/spool/lp/defdevice . ! 34: Destination ! 35: .L stdout ! 36: is the standard output. ! 37: .TP ! 38: .BI -p " proc" ! 39: The given preprocessor is invoked. ! 40: The default preprocessor is ! 41: .LR generic , ! 42: which tries to do the right thing for regular text, ! 43: .IR troff (1) ! 44: output, or ! 45: .IR bitfile (9.5) ! 46: bitmaps. ! 47: If no preprocessing is desired ! 48: (e.g. an ImPress file from ! 49: .L dviimp ! 50: is to be printed) ! 51: .L noproc ! 52: may be specified. ! 53: .TP ! 54: .B -q ! 55: Print the queue for the given destination. ! 56: For some devices, include printer status. ! 57: .TP ! 58: .B -k ! 59: Kill the job(s) given as subsequent arguments instead of file names ! 60: for the given destination. ! 61: .PD ! 62: .PP ! 63: The remaining options may be used to affect the output at a given device. ! 64: These options may not be applicable to all devices. ! 65: .TF -p\ \fIproc\fP ! 66: .TP ! 67: .BI -c " n" ! 68: Print ! 69: .I n ! 70: copies. ! 71: .TP ! 72: .BI -f " font" ! 73: Set the font (default ! 74: .LR CW.11 ). ! 75: .TP ! 76: .BI -H ! 77: Suppress printing of header page. ! 78: .TP ! 79: .BI -i " n" ! 80: Select paper input tray ! 81: .I n. ! 82: .TP ! 83: .BI -l " n" ! 84: Set the number of lines per page to ! 85: .I n. ! 86: .TP ! 87: .B -L ! 88: Print pages in landscape mode (i.e. turned 90 degrees). ! 89: .TP ! 90: .BI -m " n" ! 91: Set magnification to ! 92: .I n. ! 93: .TP ! 94: .BI -n " n" ! 95: Print ! 96: .I n ! 97: logical pages per physical page. ! 98: .TP ! 99: .BI -o " list" ! 100: Print only pages whose page numbers appear in ! 101: the comma-separated ! 102: .I list ! 103: of numbers and ranges. ! 104: A range ! 105: .IB n - m ! 106: means pages ! 107: .I n ! 108: through ! 109: .IR m ; ! 110: a range ! 111: .BI - n ! 112: means from the beginning to page ! 113: .IR n ; ! 114: a range ! 115: .IB n - ! 116: means from page ! 117: .I n ! 118: to the end. ! 119: .TP ! 120: .B -r ! 121: Reverse the order of page printing (currently not functional). ! 122: .TP ! 123: .BI -x " n" ! 124: Set the horizontal ! 125: offset of the print image, measured in inches. ! 126: .TP ! 127: .BI -y " n" ! 128: Set the vertical ! 129: offset of the print image, measured in inches. ! 130: .SH EXAMPLES ! 131: .TP 0 ! 132: .L ! 133: eqn paper | troff -ms | lp ! 134: Typeset and print a paper that contains equations. ! 135: .TP ! 136: .L ! 137: pr -l100 file | lp -l100 -fCW.8 ! 138: Print a file in a small font at 100 lines per page. ! 139: .TP ! 140: .L ! 141: lp -dstdout -H <bitfile >postfile ! 142: Convert a bitmap to postscript form. ! 143: Use ! 144: .IR mpictures (6) ! 145: macros to insert the output into a ! 146: .I troff ! 147: document. ! 148: .SH FILES ! 149: .TF /usr/spool/lp/defdevice ! 150: .TP ! 151: .F /usr/spool/lp/defdevice ! 152: default printer name ! 153: .TP ! 154: .F /usr/spool/lp/devices ! 155: printer list with interface specification ! 156: .TP ! 157: .F /usr/spool/lp/process ! 158: directory of preprocessors ! 159: .TP ! 160: .F /usr/spool/lp/prob/* ! 161: where printer jobs go when things go awry ! 162: .SH SEE ALSO ! 163: .IR pr (1), ! 164: .IR blitblt (9.1), ! 165: .IR plot (1), ! 166: .IR font (6), ! 167: .IR postio (8), ! 168: .IR postscript (8) ! 169: .SH BUGS ! 170: Not all options work with all output devices. ! 171: .br ! 172: Any user can kill any job.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.