<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 <------ 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'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"><<a href="mailto:kenbrody@spamcop.net">kenbrody@spamcop.net</a>></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 "/tmp/output.txt"<br><br> What happens here is it doesn'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 "/tmp/output.txt"<br><br>
This didn't change anything..........<br><br> Why would /tmp/output.txt not capture the entire report??<br></blockquote><br></div>Because this says "after the report is done, start sending the output to /tmp/output.txt".<br>
<br>[...]<br><br>-- <br><font color="#888888">Kenneth Brody<br></font></blockquote></div><br>