[comp.sys.mac.programmer] Printing problem and file question

finnegan@dhw68k.cts.com (Greg Finnegan) (08/09/90)

I have two totally unreleted questions:

#1) I'm having a weird problem during printing of bitmaps.
I don't know whether it is a bug in LW 6.0 drivers or I'm doing
something I'm not supposed to do.

When I do a CopyBits of my bitmap using DitherPix mode (on a 
32BitQD machine, of course) and I'm running under MultiFinder with
the Print Monotor turned off, the bitmap comes out in reverse (XOR'd).
WHen the Print Monitor is on, it works just fine.

A bug? Are you allowed to CopyBits into a printing port with DitherPix?
Sun spots?

#2) I have a routine that returns a vRefNum for a file given its filename,
volume name and dirID.  It does so by opening a working directory with
PBOpenWD and grabs the ioVRefNum.  I need to do this to lots of files to
verify that they are still where I think they should be.  Should I close
the working directory as soon as I don't need the vRefNum anymore, or can
I just keep opening WD's to my hearts content?

Thanks,

Greg Finnegan

-- 
----------------------------------------------------------
Greg Finnegan          "It worked just fine on my machine"

uucp: ...{spsd,zardoz,felix}!dhw68k!finnegan