[futurebasic] Re: [FB] Carbon v PPC

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2003 : Group Archive : Group : All Groups

From: barrie <barrie@...>
Date: Wed, 14 May 2003 21:33:02 -0400
George
Thank you for the tip. It makes sense because all my CLEAR LPRINT's are
inside the printer environment. So if I need a carbon compiled app I should
ROUTE all my CLEAR LPRINT's _toScreen and remember to ROUTE back _toPrinter.
I guess everyone who compiles under carbon knows about this....... Hmmm! I
am now wondering if there are any other quirks that may be encountered when
compiling under carbon.
Barrie 

> Barrie,
> 
> I am getting Clear LPrint to work in Carbon.   I am patching a piece of a
> working FN that perhaps will help.
> 
> My problem was that I had to start figuring out how many pages were chosen
> in the print dialog and then running my own page loops.   I trimmed out some
> non-related code and subbed in print stuff here.
> 
> FOR x= 1 TO HowManyPages
> 
> FN PrintingStuffHere        'print the page
> 
> LONG IF x<>HowManyPages
> ROUTE _toScreen
> CLEAR LPRINT
> ROUTE _toPrinter
> END IF
> NEXT x