🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #18699

Re: When to call PrOpen?

#18699
From: Jan Harrington
Date: Wed, 02 Sep 1987 11:59
18 lines
1317 bytes
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
Technical Details
Message-ID: <140@stech.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!amcad!stech!sysop
References: <8904@ut-sally.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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