And now, for the next stirring episode of "Gene Converts a Report
to Allow PDF Output":
I have now established that what I intend to be output is output,
but somehow, it is not coming out right. Other printer output, even
in VFP, works normally. I am wondering if there is a setting that I
am missing.
The guts of the printing (after setting printer and font) is:
set printer on
set console off
?? pagetext
set console on
set printer off
pagetext contains a page of text. Naturally, it has embedded
CRLF. I get crazy output. The text is indented about two inches on
the first page which then line wraps nearly every line and takes two
pages to output. My second page is indented about six inches!
I decided to try breaking up pagetext into lines and printing
line-by-line, and that worked.
Am I overlooking something, or is this a nasty VFP bug? (It
certainly has slurped up a bunch of my blood^Wtime.)
(Once I have the buffering all working right, then it will be
time for testing the PDF output. That was the whole point of this
exercise in the first place. I hate large changes that can not really
be tested until mostly complete.)
Sincerely,
Gene Wirchenko
Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.