[futurebasic] Re: [FB] print question

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2006 : Group Archive : Group : All Groups

From: Stu Cram <stu@...>
Date: Sun, 8 Jan 2006 11:04:30 -0600
Hi Doug,

I think you now need to add
	ROUTE _toScreen
just before
	CLOSE LPRINT
.
Ditto with CLEAR LPRINT
ex
ROUTE _toPrinter // start page 1
PRINT "A"
PRINT "B"
ROUTE _toScreen
CLEAR _LPRINT  // Finish current page
ROUTE _toPrinter // start page 2
PRINT "C"
PRINT "D"
ROUTE _toScreen
CLOSE LPINT  // finish 2nd page and terminate printing job

HTH
-Stu

On Jan 8, 2006, at 10:44 AM, Douglas Stemen wrote:

>
> I am preparing an example of my problem when using the Cancel button 
> in the PM. In doing so I discovered that this simple print program 
> will not work if the number of pages is more than 1.  Does this cause 
> anyone else's FB_Temp to quit when Run is selected under the Command 
> menu, or can someone tell me why this simple print program causes 
> FB_Temp to quit?  It works in PPC & FAT. I am running OS 10.4.3 
> appearance, carbon.
>
> DIM t%
> DEF LPRINT
> ROUTE _toPrinter
> FOR t%=1 to 100
> PRINT t%
> NEXT t%
> CLOSE LPRINT
>
> Thanks,
>
> Doug
>
> --
>
>