<div>I am trying to diminish some of the paper we&#39;re using here and am trying to divert certain reports, etc to be printed to a file rather than printed to a printer.</div>
<div> </div>
<div>This is my first attempt at doing this, so forgive my ignorance to a degree ha</div>
<div>In looking at the filePro manual, you should enter:</div>
<div> </div>
<div>printer file &quot;/tmp/output&quot;   &lt;--- as path to where you want the output directed to</div>
<div>printer reset   &lt;---- to reset all printer functions back to where they started before processing started</div>
<div> </div>
<div>So, I have a report called recap for a file called PDMbal </div>
<div> </div>
<div>So, in output processing for &#39;recap&#39;, I do one simple looking to grabt the value of a dummy field</div>
<div> </div>
<div>Then: lookup sta = filename k=16     i=A   -nx</div>
<div>Then: aa(4,allup)=sta(2)</div>
<div> </div>
<div>Then: printer file &quot;/tmp/output&quot;</div>
<div>Then: printer reset</div>
<div> </div>
<div>It DOES create /tmp/output, however it appears all it captures in that is the print code hex values or something....</div>
<div>If I look at the output of /tmp/output, using vi:</div>
<div>^[%100^[(10OU^O^[E</div>
<div> </div>
<div>The actual report then does print (kind of) to my system default printer, but prints it in 2 pages, the first page looks normal like it should, </div>
<div>then it prints the 2nd record on a 2nd page, with much larger print type....(there are only 2 records on this report, and when printed</div>
<div>&#39;normally&#39; it prints both records out in condensed print style just as I&#39;ve asked it to.</div>
<div> </div>
<div>I also even tried putting the printer commands above in a -v processing table, but that had no effect and I got the same results.</div>
<div> </div>
<div>What am I missing here???</div>
<div> </div>
<div>BTW this is SCO OpenServer 5.0.5 w/filePro 5.6.07R4</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>Scott</div>
<div>PDM<br></div>
<div> </div>