dbTalk Databases Forums  

VFP9: Printer Margins

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP9: Printer Margins in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default VFP9: Printer Margins - 11-01-2006 , 06:32 PM






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.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.