🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #21200

Re: Making sure PrGeneral exists

#21200
From: Larry Rosenstein
Date: Wed, 04 Nov 1987 17:29
25 lines
1493 bytes
In article <7532@dartvax.UUCP> earleh@dartvax.UUCP (Earle R. Horton) writes:
>
>let the development system library routine find out if it exists.  Either
>PrError() or ResError() will return resNotFound if the resource does not
>exist.

According to Inside Mac volume 5, you should call PrError.  I wouldn't
assume that ResError will have the same error.

>It's important to realize that the Printing Manager calls are not traps, but

Actually, starting with System 4.1, there is a Print Manager trap, which
replaces the glue that used to be linked with every application.  (The trap
is in the Mac SE and Mac II ROMs.)  You are right, however, in that the trap
ultimately calls code in the printer driver resource file.

-- 
Larry Rosenstein

Object Specialist
Apple Computer

AppleLink: Rosenstein1
UUCP:  {sun, voder, nsc, mtxinu, dual}!apple!lsr
CSNET: lsr@Apple.com
Technical Details
Message-ID: <6618@apple.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!voder!apple!lsr
References: <12346681477.300.P.PRIAPUS@HAMLET.STANFORD.EDU> <7532@dartvax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!voder!apple!lsr
From: lsr@apple.UUCP (Larry Rosenstein)
Newsgroups: comp.sys.mac
Subject: Re: Making sure PrGeneral exists
Message-ID: <6618@apple.UUCP>
Date: Wed, 4-Nov-87 12:29:54 EST
Article-I.D.: apple.6618
Posted: Wed Nov  4 12:29:54 1987
Date-Received: Sat, 7-Nov-87 10:27:24 EST
References: <12346681477.300.P.PRIAPUS@HAMLET.STANFORD.EDU> <7532@dartvax.UUCP>
Reply-To: lsr@apple.UUCP (Larry Rosenstein)
Organization: Advanced Technology Group, Apple Computer
Lines: 24