home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!spool.mu.edu!agate!stanford.edu!apple!applelink.apple.com
- From: MARSHALL_CLOW@HPSDR163.SDD.HP.COM
- Newsgroups: comp.sys.mac.oop.macapp3
- Subject: Re: When no printer is selec
- Message-ID: <9301261734.AA11781@hp-sdd.sdd.hp.com>
- Date: 26 Jan 93 09:36:00 GMT
- Sender: usenet@Apple.COM
- Organization: AppleLink Gateway
- Lines: 28
-
- From: "Marshall Clow" <marshall_clow@hpsdr163.sdd.hp.com>
- To: CSX.TECH.DEV@AppleLink.Apple.COM, macapp3tech$@applelink.apple.com
-
- Reply to: RE>When no printer is selected
-
- > Does anyone know the proper way to detect that the user has not selected a
- > printer in the Chooser? The MacApp printing mechanism is not very
- well-behaved
- > under this circumstance, so I'd prefer to avoid calling InitUPrinting and to
- > disable the Print menu item when this is the case.
-
- > Thanks ahead of time!
-
- > Jim Stead
- > CSX Technology
-
- The name of the currently selected printer driver is stored in the system file
- in resource 'STR '(-8192). If the user has never selected a printer, that
- string
- will be empty. A more subtle problem occurs if the user has selected a printer
- and the printer driver had been moved, renamed, or deleted. This is left as an
- exercise for the user. (Don't forget to look in both the Syustem folder and the
- Extensions folder under System 7, and to resolve aliases! )
-
- -- Marshall
-
-
-
-