Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!sdcsvax!ucbvax!ANDREW.CMU.EDU!rs4u+
From: rs4u+@ANDREW.CMU.EDU.UUCP
Newsgroups: comp.sys.mac
Subject: Printing Question (background Idle procedures)
Message-ID: 
Date: Tue, 7-Jul-87 13:00:51 EDT
Article-I.D.: andrew.IUwGZ3y00V4Ihk80G9
Posted: Tue Jul  7 13:00:51 1987
Date-Received: Fri, 10-Jul-87 02:32:11 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 24


I've got an application under development, and I thought that for
printing I'd implement a background procedure so that I could
use a dialog box with a "Cancel" button and a status bar
showing the percentage of the page printed. Following the
suggestion in Inside Macintosh (volume2, page 154), I set the
"pIdleProc" field of my print handle to "DoDialog" (which is my
idle procedure).

The procedure never gets called! Just to be sure, I put a SysBeep in
the procedure, and the procedure never gets invoked.

I'm printing on the LaserWriter, using System 4.1 and the
new PrintTraps interface (though I suspect the problem would
remain if I used the older MacPrint interfaces and the glue).

I suspect that the LaserWriter printing process never calls the
IdleProc; can anyone verify this? What am I doing wrong?

Help?

		--Rich

Oh yeah - in case it matters, I'm using Lightspeed Pascal.