Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!bionet!ames!haven!umd5!zben From: zben@umd5.umd.edu (Ben Cranston) Newsgroups: comp.sys.mac.programmer Subject: Re: Changing Page Setup Defaults: How do I do it? Summary: Suggested approach Message-ID: <5156@umd5.umd.edu> Date: 3 Aug 89 17:25:40 GMT References: <4157@lindy.Stanford.EDU> Reply-To: zben@umd5.umd.edu (Ben Cranston) Organization: University of Maryland, College Park Lines: 29 In article <4157@lindy.Stanford.EDU> philf@metaphor.com (Phil Fernandez) writes: > ...I want the Page Setup defaults to select "landscape" orientation rather > than portrait, and to select "Larger Print Area" At the risk of making an utter fool of myself (since I have never actually tried to do this), here is a possible approach. Cache a print record globally for your application (rather than or in addition to the print record cached with each document). You could ship your app with an appropriate print record for the current level of Apple printing, or whatever system you ship with the application. As long as printing levels do not change you should be able to propagate landscape and/or larger print area in this fashion. You should detect the case that printing level changes and the print drivers are giving you a default printing record. In this case, put up a dialog to the user: Printing level has changed. Be sure to do a Page Setup and set the Landscape and Larger Print Area options. [OK] then when he does so, cache the print record. -- Sig DS.L ('ZBen') ; Ben Cranston * Computer Science Center Network Infrastructures Group * University of Maryland at College Park