🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #24616

Re: printing problem - HELP...

#24616
From: Stew Rubenstein
Date: Wed, 03 Feb 1988 03:31
17 lines
1418 bytes
In article <3977@husc6.harvard.edu> waldman@endor.UUCP (benjamin Waldman) writes:
>I'm having a problem in a program I'm working on, and I was hoping that
>someone out there woud be able to help.  The problem involves printing.
>
>After calling PrOpenDoc (to initialize a printing port), PrError() returns
>an error -192, a resource not found error.  What could be causing this?

The printing manager calls many other toolbox functions.  The best way to
proceed with this kind of problem is to use your debugger's trap trace
or trap record function, and scan back over recent traps to find the
call to GetResource which is failing.  Then you can look at the stack at
that point to determine which resource it's trying to get.

Stew Rubenstein
Cambridge Scientific Computing, Inc.
UUCPnet:    seismo!harvard!rubenstein            CompuServe: 76525,421
Internet:   rubenstein@harvard.harvard.edu       MCIMail:    CSC
Technical Details
Message-ID: <3981@husc6.harvard.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!endor!stew
References: <3977@husc6.harvard.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!endor!stew
From: stew@endor.harvard.edu (Stew Rubenstein)
Newsgroups: comp.sys.mac
Subject: Re: printing problem - HELP...
Keywords: printing, programmer, problem, question
Message-ID: <3981@husc6.harvard.edu>
Date: 3 Feb 88 03:31:26 GMT
References: <3977@husc6.harvard.edu>
Sender: news@husc6.harvard.edu
Reply-To: stew@endor.UUCP (Stew Rubenstein)
Organization: Aiken Computation Lab Harvard, Cambridge, MA
Lines: 17