Article View: comp.sys.mac
Article #16618Re: changing the defaults in the page setup dialog
From: han
Date: Sun, 07 Jun 1987 00:37
Date: Sun, 07 Jun 1987 00:37
38 lines
2392 bytes
2392 bytes
In article <3279@sdcsvax.UCSD.EDU>, jww@sdcsvax.UCSD.EDU (Joel West) writes:
> PrintRecords are normally stored in a resource of type 'PREC' when
> they're not stored in the data fork. You should use an id > 10
> (probably > 127, to follow the rules to the letter) to avoid
> conflicting with the 'PREC' resources used by the printer drivers.
> --
> Joel West
> {ucbvax,ihnp4}!sdcsvax!jww (ihnp4!gould9!joel if I ever fix news)
> jww@sdcsvax.ucsd.edu if you must
You do not want to use the PREC resource type. This resource is for internal
Apple use in conjunction with the Print Manager. If you intend to store
your print record, use a custom resource.
By using the PREC resource type for storing your own information, you run the
risk of breaking on future software updates.
Granted using an ID >=128 should be okay but it is not a good idea to use a
reserved resource type.
PREC's of different ID's mean different things to the print manager. And
they in general are not used to store print records. PREC ID=03 is usually
used for determining page size layout information for the Imagewriter
printers. Different printers, such as the Laserwriter, Daisywriter, and
other future printers, use other PREC's for other purposes.
=====================================================================
Byron Han | UUCP: {sun,voder,nsc,mtxinu,dual}!apple!han
Apple Computer, Inc. | CSNET: han@apple.csnet
20525 Mariani Ave, | ATTNet: 408-973-6450
Cupertino, CA 95014 | GENIE: BYRONHAN
MS 27Y | CSERVE: 72167,1664
=====================================================================
All opinions and statements do not necessarily represent those of my
employer, Apple Computer Inc.
=====================================================================
Technical Details
Message-ID:
<946@apple.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!pyramid!voder!apple!hanReferences:
<3654@osu-eddie.UUCP> <933@apple.UUCP> <3279@sdcsvax.UCSD.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!pyramid!voder!apple!han From: han@apple.UUCP Newsgroups: comp.sys.mac Subject: Re: changing the defaults in the page setup dialog Message-ID: <946@apple.UUCP> Date: Sat, 6-Jun-87 20:37:37 EDT Article-I.D.: apple.946 Posted: Sat Jun 6 20:37:37 1987 Date-Received: Sun, 7-Jun-87 09:39:48 EDT References: <3654@osu-eddie.UUCP> <933@apple.UUCP> <3279@sdcsvax.UCSD.EDU> Organization: Apple Computer, Inc., Cupertino, USA Lines: 38