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>Block Job Transfer</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="RFC 1179 - Line Printer Daemon Protocol "
12    href="rfc1179ref.htm">
13    <link rel="PREVIOUS" title="LPC Requests " href=
14    "lpcreread.htm">
15    <link rel="NEXT" title="Authenticated Transfer" href=
16    "x10656.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          "lpcreread.htm" accesskey="P">Prev</a></td>
32
33          <td width="80%" align="center" valign="bottom">Chapter
34          19. RFC 1179 - Line Printer Daemon Protocol</td>
35
36          <td width="10%" align="right" valign="bottom"><a href=
37          "x10656.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="SENDBLOCKFORMAT">19.9. Block Job
45      Transfer</a></h1>
46
47      <p>Options used:</p>
48
49      <ul>
50        <li>
51          <p><var class="LITERAL">send_block_format</var> FLAG
52          <span class="emphasis"><i class="EMPHASIS">Transfer job
53          as a block</i></span></p>
54        </li>
55      </ul>
56      <br>
57      <br>
58
59      <p>In normal job transfer operations, the sender and receiver
60      have a handshake interaction in order to transfer a print
61      job. Each file is sent individually. The <var class=
62      "LITERAL">send_block_format</var> option forces a Block Job
63      Transfer operation. This causes the sender to transfer a
64      single file containing all the job printing information,
65      including control file and data files.</p>
66
67      <p>The transfer command line has the form:</p>
68
69      <div class="INFORMALEXAMPLE">
70        <a name="AEN10652"></a>
71<pre class="SCREEN">
72    \007printer size\n
73</pre>
74      </div>
75      <br>
76      <br>
77
78      <p>The receiver will return any acknowledgement of a single 0
79      octet, and then the size bytes of the job will be transferred
80      by the sender. At the end of the transfer a single 0 octet is
81      added, and the receiver will indicate success by returning a
82      single 0 octet. Any other value returned by the receiver
83      indicates an error condition.</p>
84
85      <p>The file transferred by the sender is simply the command
86      lines that it would have normally sent for job transfer,
87      followed by the control or data file values.</p>
88    </div>
89
90    <div class="NAVFOOTER">
91      <hr align="LEFT" width="100%">
92
93      <table summary="Footer navigation table" width="100%" border=
94      "0" cellpadding="0" cellspacing="0">
95        <tr>
96          <td width="33%" align="left" valign="top"><a href=
97          "lpcreread.htm" accesskey="P">Prev</a></td>
98
99          <td width="34%" align="center" valign="top"><a href=
100          "index.htm" accesskey="H">Home</a></td>
101
102          <td width="33%" align="right" valign="top"><a href=
103          "x10656.htm" accesskey="N">Next</a></td>
104        </tr>
105
106        <tr>
107          <td width="33%" align="left" valign="top">LPC
108          Requests</td>
109
110          <td width="34%" align="center" valign="top"><a href=
111          "rfc1179ref.htm" accesskey="U">Up</a></td>
112
113          <td width="33%" align="right" valign="top">Authenticated
114          Transfer</td>
115        </tr>
116      </table>
117    </div>
118  </body>
119</html>
120
121