[futurebasic] Re: [FB] Print A Styled Text Resource

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Tue, 26 Oct 1999 12:49:11 -0500
>Mornin' All,
>
>I have a Text in my rsrc file ID 2000 ..
>
>I want to "Send It To The Printer" by Clicking a Btn..
>
>Pages 143 thru 149 of the Handbook covers printing the contents of an
>Edit Field
>
>BUT .. Makes no reference, At least I didn't find any, to printing a TEXT
>Resource
>
>I want to avoid the Edit field if at all possible
>
>Is it possible to print the Resource .. Or does it have to be put into an
>Edit Field first, then printed ..
>
>Sure could use a hand on this one .. I'd be beholden
>

If the field is one page or less...

ROUTE _toPrinter
EDIT FIELD 1,%2000,(0,0)-(WINDOW(_width),WINDOW(_height))
ROUTE _toScreen
CLOSE LPRINT



Best,

-STAZ  ~)~

800.348.2623 Orders  http://www.stazsoftware.com
228.255.7086 FAX     mailto:staz@...