[futurebasic] Re: [FB] [FB^3] PrGeneral

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2001 : Group Archive : Group : All Groups

From: Pete <furbies@...>
Date: Sat, 10 Mar 2001 19:39:26 +1100
Heather Donahue <heatherd@...> on 10/3/01 11:57 AM scribed :

> At 8:52 AM +1100 on 3/10/01, Pete wrote:
> 
> 
>> Has anyone used the PrGeneral call in FB^3 ?
>> 
>> I've got code that uses PrGeneral that runs fine under FB2, but the
>> same code only slightly modified so it'll run under FB^3 fails.
> 
> What do you mean by 'slightly modified'?  Also what is failing, is it
> crashing or returning an error?
> 
> The Toolbox function PrGeneral(@Long) is in the FB^3 headers. It
> looks like it takes a pointer to a special parameter block.
> Depending on what you want to accomplish with it, there are four
> different blocks you can use.
> 
> Here is the IM:Printing page about it:
> 
> <http://developer.apple.com/techpubs/mac/QuickDraw/QuickDraw-444.html>

I'm getting a -192 error when I check FN PRERROR after calling PrGeneral

According to Think Ref, a -192 means a missing resource, which has me
stumped.

The only changes I made to the code were things like: USR PRERROR to FN
PRERROR etc.

Pete...

Who want's to print...