Article View: comp.sys.mac
Article #17258Printing Question (background Idle procedures)
From: rs4u+
Date: Tue, 07 Jul 1987 17:00
Date: Tue, 07 Jul 1987 17:00
24 lines
1436 bytes
1436 bytes
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.
Technical Details
Message-ID:
<IUwGZ3y00V4Ihk80G9@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!sdcsvax!ucbvax!ANDREW.CMU.EDU!rs4u+Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!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: <IUwGZ3y00V4Ihk80G9@andrew.cmu.edu> 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