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