printing to file

scooter6 at gmail.com scooter6 at gmail.com
Thu Nov 4 11:10:08 PDT 2010


  Ha yep, right you were.....now all seems to work fine if I do

  /u/appl/fp/rreport file -f recap -u -a -v select     <------ in select
processing, I have the printer file command :)

  Thanks Ken for pointing me in the right direction.......

  So, to clarify, I don't need to do a printer reset command anywhere in my
processing???
  Either before, after or anything.....




On Thu, Nov 4, 2010 at 2:01 PM, Kenneth Brody <kenbrody at spamcop.net> wrote:

> On 11/4/2010 1:17 PM, scooter6 at gmail.com wrote:
>
>>   Ken,
>>
>>   Okay, well the manual is a little confusing so I tried removing the
>>   printer reset command, now my processing just says
>>
>>   Then: lookup....blah blah blah
>>
>>   Then: printer file "/tmp/output.txt"
>>
>>   What happens here is it doesn't capture the first part of the report,
>> the
>> description header across the top as what is defined
>>   in the output, company name, etc, etc.
>>   It does however capture the 2nd record of the 2 and the total line in
>> /tmp/output.txt ??
>>
>
> Because you are probably executing the PRINTER FILE command for every
> record, causing only the last record to be in the file.
>
>
>   So I tried doing:
>>
>> @done  If:
>>           Then:  printer file "/tmp/output.txt"
>>
>>   This didn't change anything..........
>>
>>   Why would /tmp/output.txt not capture the entire report??
>>
>
> Because this says "after the report is done, start sending the output to
> /tmp/output.txt".
>
> [...]
>
> --
> Kenneth Brody
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20101104/cd1eda5f/attachment.html 


More information about the Filepro-list mailing list