Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!ginosko!usc!apple!apple.com!casseres From: casseres@apple.com (David Casseres) Newsgroups: comp.sys.mac.programmer Subject: Re: Changing Imagewrite defaults Message-ID: <4871@internal.Apple.COM> Date: 24 Oct 89 20:08:56 GMT Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 27 References:<4933@tekig5.PEN.TEK.COM> <14296@shamash.cdc.com> In article <14296@shamash.cdc.com> pwp@shamash.cdc.com ( HOUFAC) writes: > In article <4933@tekig5.PEN.TEK.COM> freda@tekig5.PEN.TEK.COM (Fred Azinger) writes: > >I need help with changing the default "style" for printing on a imagewriter. > > > > <...> I want TALL ADJUSTED to be the default style when using an imagewriter. > > > > Just a thought -- can this be accomplished by using PrGeneral to set the > resolution? You should be able to fetch the available resolutions, then > set whichever one corresponds to having tall-adjusted on (144x144?, 72x72??) > if it is available. With a little care, it might even be possible to do this > in such a way that you don't have to special-case the Imagewriter. Yup, that's the right way to do it. You don't have to know it's an ImageWriter at all, just examine the available combinations of horizontal and vertical resolution and pick one where they're equal. Your code will then work on all printer drivers that support PrGeneral, which includes all current Apple printer drivers. David Casseres Exclaimer: Hey!