printing to file

scooter6 at gmail.com scooter6 at gmail.com
Thu Nov 4 10:17:21 PDT 2010


  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 ??
  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??

   Thanks

  Scott



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

> On 11/4/2010 12:07 PM, scooter6 at gmail.com wrote:
>
>> I am trying to diminish some of the paper we're using here and am trying
>> to
>> divert certain reports, etc to be printed to a file rather than printed to
>> a
>> printer.
>>
> [...]
>
> Then: printer file "/tmp/output"
>> Then: printer reset
>>
>> It DOES create /tmp/output, however it appears all it captures in that is
>> the print code hex values or something....
>> If I look at the output of /tmp/output, using vi:
>> ^[%100^[(10OU^O^[E
>>
>> The actual report then does print (kind of) to my system default printer,
>>
> [...]
>
> Well, let's look at those two lines of code:
>
>  printer file "/tmp/output"
>
>    Tells filePro to send the output to "/tmp/output".
>
>  printer reset
>
>    Tells filePro, "never mind, use the defaults".
>
> --
> Kenneth Brody
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20101104/007bed98/attachment.html 


More information about the Filepro-list mailing list