[comp.sys.mac] Background Printing

rs4u+@ANDREW.CMU.EDU (Richard Siegel) (07/08/87)

So what I need to do is put calls to my IdleProc in my drawing routine?
Right now, I use the same code to draw my window as I do to print --
just a different port, is all. 

*Sigh*. Putting in hooks is a pain, but I s'pose...

		--rich

tecot@apple.UUCP (07/09/87)

In article <QUwYGgy00V4IyIs14s@andrew.cmu.edu> rs4u+@ANDREW.CMU.EDU (Richard Siegel) writes:
>
>So what I need to do is put calls to my IdleProc in my drawing routine?
>Right now, I use the same code to draw my window as I do to print --
>just a different port, is all. 
>
>*Sigh*. Putting in hooks is a pain, but I s'pose...
>
>		--rich


No, no, no...
Just set up your idleProc AFTER you call PrOpenDoc, instead of before:

myPrPort := PrOpenDoc(prRecHdl, NIL, NIL);
prRecHdl^^.prJob.pIdleProc := @(MyIdleProc());
FOR pg := 1 TO myPgCount DO
  IF PrError = noErr THEN
    BEGIN
    ...

Note:  My Pascal is rusty, hopefully line 2 is syntactically correct.
In any case, you know what I mean (or do you?)

						_emt

kent@lloyd.camex.uucp (Kent Borg) (03/15/89)

I can't turn on Background Printing.  It worked yesterday, but not
this morning.  

I am running MultiFinder with plenty of memory, Print Monitor and
Backgrounder are in my system folder, I have rebooted, turned
AppleTalk off and on, gnashed my teeth.  I even looked in the manual!!

What causes Chooser to dim the background printing radio buttons?  

Kent Borg
kent@lloyd.uucp
or
...!hscfvax!lloyd!kent

bayes@hpfcdc.HP.COM (Scott Bayes) (03/18/89)

> I can't turn on Background Printing.  It worked yesterday, but not
> this morning.  
> 
> I am running MultiFinder with plenty of memory, Print Monitor and
> Backgrounder are in my system folder, I have rebooted, turned
> AppleTalk off and on, gnashed my teeth.  I even looked in the manual!!

You looked in the manual ??!!?!?

Gasp...

> 
> What causes Chooser to dim the background printing radio buttons?  
> 
> Kent Borg
> kent@lloyd.uucp
> or
> ...!hscfvax!lloyd!kent

Scott "We don't need no steenking manuals. We got thees!" Bayes

kent@lloyd.camex.uucp (Kent Borg) (03/21/89)

In article <11010052@hpfcdc.HP.COM> bayes@hpfcdc.HP.COM (Scott Bayes) writes:
[quoting something I wrote]
>> I can't turn on Background Printing.  It worked yesterday, but not
>> this morning.  
>> 
>> I am running MultiFinder with plenty of memory, Print Monitor and
>> Backgrounder are in my system folder, I have rebooted, turned
>> AppleTalk off and on, gnashed my teeth.  I even looked in the manual!!
>
>You looked in the manual ??!!?!?
>
>Gasp...

After I posted my original question I `fixed' it, but still don't know
what was going on.

I booted off a different hard disk (the one I try to keep fairly
vanilla, just for times like this), and it worked.  I decided to snarf
the Backgrounder and Print Monitor files from that disk, and sure
enough that fixed it!  Then I took advantage of my Great Cleverness: I
pulled the `bad copies' back out of the folder I had stuck them in
(just for a time like this), rebooted, and *they* worked.

I don't know what was up, but I am guessing that one of those files
(probably Backgrounder) was storing some sort of state information
inside itself, and got confused.  Letting a different copy run things
for a while forced the original copy to reconsider once it was
reinstalled.

Kent Borg 
kent@lloyd.uucp or ...!hscfvax!lloyd!kent 

(though I am told our mail gateway is broken right now and
...!husc6!lloyd!kent might work better)

bayes@hpfcdc.HP.COM (Scott Bayes) (03/23/89)

PRAM maybe???

Scott Bayes