printer file "name" - problem
Dennis Malen
dmalen at malen.com
Mon Mar 14 11:38:11 PST 2005
Problem: In order to create a PRINTER FILE "/tmp/anyname" I am using the
processing below. The initial problem was that I had to take out the
definition of the current printer in the report form I was using. I could
not keep the definition and override it with PRINTER TYPE "nocodes". I could
get by that problem (but its a pain to copy over the report format and take
it out).
The next problem that arose is that when I viewed the file that had been
created each record selected was a full screen. I then changed the number of
lines of the report from 64 lines per page to one line per page. I also
changed the heading so that only one line appeared. That worked fine. I
don't think that is how PRINTER FILE "anyname" was intended. I should be
able to create a viewable ascii file without having to do what I did.
WHAT AM I DOING WRONG???????
Then: pa(1,*,g)
- - - - - - -
If: pa=""
Then: PUTENV "FPONEHEAD","on"
- - - - - - -
If: pa=""
Then: printer type "nocodes"
- - - - - - -
If: pa=""
Then: printer file "/tmp/dailydep"
- - - - - - - -
Then:pa="p";end
- - - - - - - -
@done" If:
Then: system "cat /tmp/dailydep|pg";end
More information about the Filepro-list
mailing list