[futurebasic] Re: Print question

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1998 : Group Archive : Group : All Groups

From: BMichael@...
Date: Fri, 25 Sep 1998 09:14:52 EDT
>I get 100 pages printed with one line in the upper left corner of each 
>page. Does anyone know why this function does not print on one page?
>
>LOCAL FN updateWind
>  '<SNIP> Setup for drawing and printing
>  FOR x=1 TO gTotalFns%
>    '<SNIP> Setup for printing

At a guess, you've got print-handling commands inside your loop that 
cause a page clear. I'd move them to all be done before the FOR 
statement, and make sure gTotalFns% is small enough to fit on one page; 
if that works, then start trying to handle the more-than-one-page case.

>    PRINT %(Tot,curLine) a$;
>    '<SNIP> Setup for drawing horizontal line
>    PLOT x1,y1 TO x2,y2                           'Draw horizontal line
>  NEXT x
>END FN

I think this is a case where we need a little more code to be able to 
tell what the problem is...

Bill