1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 3<html> 4 <head> 5 <meta name="generator" content="HTML Tidy, see www.w3.org"> 6 <title>Job Pretty Printing, Banners, Priority, and 7 Accounting</title> 8 <meta name="GENERATOR" content= 9 "Modular DocBook HTML Stylesheet Version 1.7"> 10 <link rel="HOME" title=" LPRng Reference Manual" href= 11 "index.htm"> 12 <link rel="UP" title="lpr - Job Spooler Program" href= 13 "lpr.htm"> 14 <link rel="PREVIOUS" title="lpr - Job Spooler Program" href= 15 "lpr.htm"> 16 <link rel="NEXT" title="Job Class and Priority " href= 17 "classpriority.htm"> 18 </head> 19 20 <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link= 21 "#0000FF" vlink="#840084" alink="#0000FF"> 22 <div class="NAVHEADER"> 23 <table summary="Header navigation table" width="100%" border= 24 "0" cellpadding="0" cellspacing="0"> 25 <tr> 26 <th colspan="3" align="center">LPRng Reference Manual: 5 27 Sep 2003 (For LPRng-3.8.22)</th> 28 </tr> 29 30 <tr> 31 <td width="10%" align="left" valign="bottom"><a href= 32 "lpr.htm" accesskey="P">Prev</a></td> 33 34 <td width="80%" align="center" valign="bottom">Chapter 6. 35 <b class="APPLICATION">lpr</b> - Job Spooler Program</td> 36 37 <td width="10%" align="right" valign="bottom"><a href= 38 "classpriority.htm" accesskey="N">Next</a></td> 39 </tr> 40 </table> 41 <hr align="LEFT" width="100%"> 42 </div> 43 44 <div class="SECT1"> 45 <h1 class="SECT1"><a name="AEN4267">6.2. Job Pretty Printing, 46 Banners, Priority, and Accounting</a></h1> 47 48 <p>Options used:</p> 49 50 <ul> 51 <li> 52 <p><var class="LITERAL">ab</var> FLAG <span class= 53 "emphasis"><i class="EMPHASIS">always print 54 banner</i></span></p> 55 </li> 56 57 <li> 58 <p><var class="LITERAL">sh</var> FLAG <span class= 59 "emphasis"><i class="EMPHASIS">suppress header 60 (banner)</i></span></p> 61 </li> 62 </ul> 63 <br> 64 <br> 65 66 <p>The legacy or vintage BSD pretty printing facility support 67 allowed users to specify the title (<var class="LITERAL">-T 68 title</var>), indentation (<var class="LITERAL">-i 69 indent</var>), width (<var class="LITERAL">-i indent</var>) 70 of output for pretty printing. These probably will not have 71 any effect, but their values are placed in the control file 72 and sent to the <b class="APPLICATION">lpd</b> server.</p> 73 74 <p>The job name (<var class="LITERAL">-J name</var>) and no 75 banner page (<var class="LITERAL">-h</var>) literals also 76 cause information to be placed in the control file. The <var 77 class="LITERAL">-J</var> value is used to specify a job name 78 on a banner page, and is placed in the control file. The <var 79 class="LITERAL">-h</var> (no header) has the strange effect 80 of <span class="emphasis"><i class="EMPHASIS">not</i></span> 81 putting <span class="emphasis"><i class="EMPHASIS">banner 82 name</i></span> information in the control file. Apparently, 83 if you do not have a name for your banner then no name will 84 be sent.</p> 85 86 <p>If the <var class="LITERAL">:sh</var> option is explicitly 87 specified in a printcap entry for the <b class= 88 "APPLICATION">lpr</b> client, then it has the effect of the 89 <var class="LITERAL">-h</var> literal. However, the <var 90 class="LITERAL">:ab</var> (Always Print Banner) option can be 91 used on the print server to always force a banner to be 92 printed even if the user does not specify a banner.</p> 93 94 <p>Finally, the <var class="LITERAL">-R</var> literal allows 95 additional accounting information to be placed in the control 96 file.</p> 97 </div> 98 99 <div class="NAVFOOTER"> 100 <hr align="LEFT" width="100%"> 101 102 <table summary="Footer navigation table" width="100%" border= 103 "0" cellpadding="0" cellspacing="0"> 104 <tr> 105 <td width="33%" align="left" valign="top"><a href= 106 "lpr.htm" accesskey="P">Prev</a></td> 107 108 <td width="34%" align="center" valign="top"><a href= 109 "index.htm" accesskey="H">Home</a></td> 110 111 <td width="33%" align="right" valign="top"><a href= 112 "classpriority.htm" accesskey="N">Next</a></td> 113 </tr> 114 115 <tr> 116 <td width="33%" align="left" valign="top"><b class= 117 "APPLICATION">lpr</b> - Job Spooler Program</td> 118 119 <td width="34%" align="center" valign="top"><a href= 120 "lpr.htm" accesskey="U">Up</a></td> 121 122 <td width="33%" align="right" valign="top">Job Class and 123 Priority</td> 124 </tr> 125 </table> 126 </div> 127 </body> 128</html> 129 130