printing to file
Kenneth Brody
kenbrody at spamcop.net
Thu Nov 4 11:01:57 PDT 2010
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
More information about the Filepro-list
mailing list