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 Copies and Job Size</title> 7 <meta name="GENERATOR" content= 8 "Modular DocBook HTML Stylesheet Version 1.7"> 9 <link rel="HOME" title=" LPRng Reference Manual" href= 10 "index.htm"> 11 <link rel="UP" title="lpr - Job Spooler Program" href= 12 "lpr.htm"> 13 <link rel="PREVIOUS" title="Job Class and Priority " href= 14 "classpriority.htm"> 15 <link rel="NEXT" title="Job Completion Notification Requested " 16 href="jobcompletion.htm"> 17 </head> 18 19 <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link= 20 "#0000FF" vlink="#840084" alink="#0000FF"> 21 <div class="NAVHEADER"> 22 <table summary="Header navigation table" width="100%" border= 23 "0" cellpadding="0" cellspacing="0"> 24 <tr> 25 <th colspan="3" align="center">LPRng Reference Manual: 5 26 Sep 2003 (For LPRng-3.8.22)</th> 27 </tr> 28 29 <tr> 30 <td width="10%" align="left" valign="bottom"><a href= 31 "classpriority.htm" accesskey="P">Prev</a></td> 32 33 <td width="80%" align="center" valign="bottom">Chapter 6. 34 <b class="APPLICATION">lpr</b> - Job Spooler Program</td> 35 36 <td width="10%" align="right" valign="bottom"><a href= 37 "jobcompletion.htm" accesskey="N">Next</a></td> 38 </tr> 39 </table> 40 <hr align="LEFT" width="100%"> 41 </div> 42 43 <div class="SECT1"> 44 <h1 class="SECT1"><a name="JOBCOPIES">6.4. Job Copies and Job 45 Size</a></h1> 46 47 <p>Options used:</p> 48 49 <ul> 50 <li> 51 <p><var class="LITERAL">mc=</var><span class= 52 "emphasis"><i class="EMPHASIS">maximum number of 53 copies</i></span></p> 54 </li> 55 56 <li> 57 <p><var class="LITERAL">mx=</var><span class= 58 "emphasis"><i class="EMPHASIS">maximum job size 59 (Kbytes)</i></span></p> 60 </li> 61 </ul> 62 <br> 63 <br> 64 65 <p>The <var class="LITERAL">:mc</var> (maximum number of 66 copies) and <var class="LITERAL">:mx</var> (maximum job size) 67 options are used by both the <b class="APPLICATION">lpr</b> 68 and <b class="APPLICATION">lpd</b> programs. The <tt class= 69 "COMMAND">lpr -Kn</tt> or <tt class="COMMAND">lpr -#n</tt> 70 option sets the numbers of copies wanted to <var class= 71 "LITERAL">n</var>; if this is larger than the <var class= 72 "LITERAL">:mc</var> value then the <b class= 73 "APPLICATION">lpr</b> client will not print the job and the 74 <b class="APPLICATION">lpd</b> server will discard the job 75 with an error. The job size is the product of the number of 76 copies and the sum of the individual file sizes. This is, in 77 effect, the total number of bytes to be transferred to the 78 printer. If the job size is larger than the <var class= 79 "LITERAL">:mx</var> limit, then the <b class= 80 "APPLICATION">lpr</b> client will not print the job and the 81 <b class="APPLICATION">lpd</b> server will discard the job 82 with an error.</p> 83 </div> 84 85 <div class="NAVFOOTER"> 86 <hr align="LEFT" width="100%"> 87 88 <table summary="Footer navigation table" width="100%" border= 89 "0" cellpadding="0" cellspacing="0"> 90 <tr> 91 <td width="33%" align="left" valign="top"><a href= 92 "classpriority.htm" accesskey="P">Prev</a></td> 93 94 <td width="34%" align="center" valign="top"><a href= 95 "index.htm" accesskey="H">Home</a></td> 96 97 <td width="33%" align="right" valign="top"><a href= 98 "jobcompletion.htm" accesskey="N">Next</a></td> 99 </tr> 100 101 <tr> 102 <td width="33%" align="left" valign="top">Job Class and 103 Priority</td> 104 105 <td width="34%" align="center" valign="top"><a href= 106 "lpr.htm" accesskey="U">Up</a></td> 107 108 <td width="33%" align="right" valign="top">Job Completion 109 Notification Requested</td> 110 </tr> 111 </table> 112 </div> 113 </body> 114</html> 115 116