Avoiding line cut-off in a multipage printout

Dave Cragg dcragg at lacscentre.co.uk
Mon Mar 27 16:56:48 EST 2006


On 27 Mar 2006, at 18:38, Graham Samuel wrote:

> Well, so far my experiments have been somewhat unsatisfactory. My  
> surmise that you can't scroll beyond the bottom of the last page  
> was correct: if say 60 lines fit on the first page and you have a  
> total of 80 lines, scrolling the pixel equivalent of 60 lines won't  
> make line 61 come to the top of the field: in fact AFAIK line 21 or  
> thereabouts will come to the top of the field, so I will have to  
> deal with the last page in a different way (for example by deleting  
> all the lines except the ones that are meant to be on the last  
> page, and printing what remains).

I looked back at some old stacks where i'd used the pageHeights. It  
looks like I used  two approaches. One was deleting the printed lines  
(as you mention above). The other was adjusting the height of the  
field to the same value as the current line in the pageHeights.

Cheers
Dave



More information about the Use-livecode mailing list