Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!cit-vax!tybalt.caltech.edu!woody
From: woody@tybalt.caltech.edu.UUCP
Newsgroups: comp.sys.mac
Subject: Re: Printing Question (background Idle procedures)
Message-ID: <3165@cit-vax.Caltech.Edu>
Date: Tue, 7-Jul-87 14:45:38 EDT
Article-I.D.: cit-vax.3165
Posted: Tue Jul  7 14:45:38 1987
Date-Received: Thu, 9-Jul-87 06:29:16 EDT
References: 
Sender: news@cit-vax.Caltech.Edu
Reply-To: woody@tybalt.caltech.edu.UUCP (William Edward Woody)
Organization: Calfornia Institute of Technology
Lines: 20

pIdleProc only is called during spool printing; specifically, pIdleProc is
called during the process of printing a spooled file.  The only printer that
uses this is the Imagewriter, which stores the page youre printing as a
picture, and then (during PrPicFile) scan converts the picture and prints it
out on the imagewriter.  pIdleProc is called only during the scan conversion
process.

As the Laserwriter only prints in "draft" mode (ie, there is no scan
conversion phase), the routine pIdleProc of course is not called.
The proper way to implement the dialog you're after is to set up and
maintain the dialog during the process of "drawing" the pages into the
tprport grafport.  (And you may want to note in the dialog if the drawing
is taking place, or if scan conversion is taking place.)

Sorry for posting this one to the network, but the mailer here is having
problems.  Maybe when I leave Caltech and start work in September, they'll
have a reasonable mailer and news reader program!!!
- William Woody                          Mac! > ][n && /|\
  woody@tybalt.caltech.edu
  woody@juliet.caltech.edu