Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!nrl-cmf!mailrus!purdue!decwrl!labrea!polya!kaufman From: kaufman@polya.Stanford.EDU (Marc T. Kaufman) Newsgroups: comp.sys.mac.programmer Subject: Re: Chooser and printers Message-ID: <4568@polya.Stanford.EDU> Date: 19 Oct 88 15:49:21 GMT References: <553@cf-cm.UUCP> Reply-To: kaufman@polya.Stanford.EDU (Marc T. Kaufman) Organization: Stanford University Lines: 9 In article <553@cf-cm.UUCP> ralph@computing-maths.cardiff.ac.uk (Ralph Martin) writes: >How can an application program tell if a user has used the "Chooser" >to switch printers? Is there a global that records the current choice? Do a PrValidate with a copy of the Print Record, and look at the high byte of the prStl.wDev field. This field is unique (or should be) for each device type. It will NOT tell you if you have switched to a different device within a type (e.g. another LaserPrinter). Marc Kaufman (kaufman@polya.stanford.edu)