I am trying to create a print function for a program. Below is an outline of a
function that updates the main window in my program. It draws correctly on the
screen. My problem is that when I use ROUTE _toPrinter to send the output to
the printer, each line is printed on a seperate page. 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
PRINT %(Tot,curLine) a$;
'<SNIP> Setup for drawing horizontal line
PLOT x1,y1 TO x2,y2 'Draw horizontal line
NEXT x
END FN
Thanks for any help.
-Joe Lertola