<div>  Ha yep, right you were.....now all seems to work fine if I do</div>
<div> </div>
<div>  /u/appl/fp/rreport file -f recap -u -a -v select     &lt;------ in select processing, I have the printer file command :)</div>
<div> </div>
<div>  Thanks Ken for pointing me in the right direction.......</div>
<div> </div>
<div>  So, to clarify, I don&#39;t need to do a printer reset command anywhere in my processing???</div>
<div>  Either before, after or anything.....</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Thu, Nov 4, 2010 at 2:01 PM, Kenneth Brody <span dir="ltr">&lt;<a href="mailto:kenbrody@spamcop.net">kenbrody@spamcop.net</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On 11/4/2010 1:17 PM, <a href="mailto:scooter6@gmail.com" target="_blank">scooter6@gmail.com</a> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">  Ken,<br><br>  Okay, well the manual is a little confusing so I tried removing the<br>  printer reset command, now my processing just says<br>
<br>  Then: lookup....blah blah blah<br><br>  Then: printer file &quot;/tmp/output.txt&quot;<br><br>  What happens here is it doesn&#39;t capture the first part of the report, the<br>description header across the top as what is defined<br>
  in the output, company name, etc, etc.<br>  It does however capture the 2nd record of the 2 and the total line in<br>/tmp/output.txt ??<br></blockquote><br></div>Because you are probably executing the PRINTER FILE command for every record, causing only the last record to be in the file. 
<div class="im"><br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">  So I tried doing:<br><br>@done  If:<br>          Then:  printer file &quot;/tmp/output.txt&quot;<br><br>
  This didn&#39;t change anything..........<br><br>  Why would /tmp/output.txt not capture the entire report??<br></blockquote><br></div>Because this says &quot;after the report is done, start sending the output to /tmp/output.txt&quot;.<br>
<br>[...]<br><br>-- <br><font color="#888888">Kenneth Brody<br></font></blockquote></div><br>