Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!amcad!stech!sysop From: sysop@stech.UUCP (Jan Harrington) Newsgroups: comp.sys.mac Subject: Re: When to call PrOpen? Message-ID: <140@stech.UUCP> Date: Wed, 2-Sep-87 07:59:52 EDT Article-I.D.: stech.140 Posted: Wed Sep 2 07:59:52 1987 Date-Received: Sat, 5-Sep-87 07:28:59 EDT References: <8904@ut-sally.UUCP> Organization: Scholastech, Inc., Waltham, Mass. Lines: 18 in article <8904@ut-sally.UUCP>, brian@ut-sally.UUCP (Brian H. Powell) says: > > > When's the best time to call PrOpen in an application? For now, I am > doing it at startup time. I wonder what happens if the user uses Chooser to > select a different printer driver. It seems to go okay, but I have my doubts. > Alternatively, I could call PrOpen at the beginning, and PrClose at the end, Generally, I've called PrOpen at the head of my print module and PrClose at the end of the print module. There's no need to open and close the Print Manager for every page, just at the beginning and end of a print job. It takes only a bit of time and is probably safer than doing so at the beginning and end of an entire application. Jan Harrington, sysop Scholastech Telecommunications {seismo,ihnp4}!husc6!amcad!stech!sysop