[comp.sys.mac.programmer] More printing woes

francis@csli.Stanford.EDU (Dave Francis) (08/18/90)

Having solved my former problem (PrJobInit bomb), I'm on to more interesting
problems. Turned out I wasn't calling PrOpen() but for the life of me I can't
figure how it ever worked before.

But I digress. Now it seems that calling PrOpenDoc returns me an error 
specified as -37 (Bad Name). I'm calling it with a good THPrint and
other values are both nil. This has never died before on me. I think IM
says that by default the print manager uses the name of the file contained
in the Printer resource file (in this case 'Print File') to spool.
I looked at the field and it is indeed nil.

Any clues?

-- dave francis