[futurebasic] Re: [FB] Basic Printing Question

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2002 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Mon, 04 Nov 2002 10:16:36 +0100

Joe Lewis Wilkins wrote:
> Well, here's a Basic Question.
> 
> I have a window that displays a Picture Resource. I want the picture to 
> print.
> 
> With the Print routine I've been using for text, I change a few things 
> and, after calling _RouteToPrinter, I merely call Picture  Field 
> 1,%gPictRsrc%, then _RouteToScreen.
> 
> When I run the program and select the Print routine from the File Menu, 
> everything works OK to the point where it says it is Spooling the 
> Document, which it does forever without doing anything. Fortunately, for 
> the time being, I can still access the File Menu>Quit,  to get out of 
> this. If I substitute  Print "something" for the Picture Field 
> statement, it prints the "something", but ONLY after I Quit the program, 
> since the Spooling Dialog never closed until then.
> 
> Interesting. This is the first time I've tried to print a picture.
> 

It looks like a CLOSE LPRINT or a CLEAR LPRINT is missing in your code.

-- 
Cheers,

A. Pastor