home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / oop / macapp3 / 623 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.4 KB

  1. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!spool.mu.edu!agate!stanford.edu!apple!applelink.apple.com
  2. From: MARSHALL_CLOW@HPSDR163.SDD.HP.COM
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re: When no printer is selec
  5. Message-ID: <9301261734.AA11781@hp-sdd.sdd.hp.com>
  6. Date: 26 Jan 93 09:36:00 GMT
  7. Sender: usenet@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 28
  10.  
  11. From: "Marshall Clow" <marshall_clow@hpsdr163.sdd.hp.com>
  12. To: CSX.TECH.DEV@AppleLink.Apple.COM,  macapp3tech$@applelink.apple.com
  13.  
  14.         Reply to:   RE>When no printer is selected
  15.  
  16. > Does anyone know the proper way to detect that the user has not selected a
  17. > printer in the Chooser? The MacApp printing mechanism is not very
  18. well-behaved
  19. > under this circumstance, so I'd prefer to avoid calling InitUPrinting and to
  20. > disable the Print menu item when this is the case.
  21.  
  22. > Thanks ahead of time!
  23.  
  24. > Jim Stead
  25. > CSX Technology
  26.  
  27. The name of the currently selected printer driver is stored in the system file
  28. in resource 'STR '(-8192). If the user has never selected a printer, that
  29. string
  30. will be empty. A more subtle problem occurs if the user has selected a printer
  31. and the printer driver had been moved, renamed, or deleted. This is left as an
  32. exercise for the user. (Don't forget to look in both the Syustem folder and the
  33. Extensions folder under System 7, and to resolve aliases! )
  34.  
  35. -- Marshall
  36.  
  37.  
  38.  
  39.