Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpvcfs1!rickk
From: rickk@hpvcfs1.HP.COM (Rick Klaus)
Newsgroups: comp.sys.mac
Subject: Re: HP DeskWriter Bug?
Message-ID: <780042@hpvcfs1.HP.COM>
Date: 16 Aug 89 18:27:09 GMT
References: <18981.24E12EE5@cmhgate.FIaONET.ORG>
Organization: Hewlett Packard, Vancouver, WA
Lines: 28


     I know that I probably shouldn't post this, but this problem has come
up several times recently...

     DeskWriter currently has a problem when printing with DeskPaint from
Zedcor.  This is caused by Zedcor passing an unlocked handle to the printer
driver (any driver, not just DeskWriter).  The problem occurs because the
DeskWriter driver requests that the system clean up memory before it prints.
The system complies and very neatly trashes the unlocked handle.  It is not
possible to remove the request from the DW driver, since performance is 
HIGHLY dependent on available memory.  Zedcor probably needs to lock the
handle before passing it to the driver.  To get around the problem, you
can use ResEdit to modify the DeskPaint DA and application.  Simply open
the file(s), find the Tprt resource (only one is present) and Get Info about
this resource.  The purgeable bit will be set... turn it off.  Save the file
and this should fix the bombing problem.

     Be sure to work only on a copy of the Zedcor files.  Perform this
modification at your own risk.  It has not been extensively tested to determine
if any nasty side effects occur.  Some testing seems to indicate that the
problem is fixed, but again, THIS IS NOT A SUPPORTED FIX by either HP or
Zedcor.

Disclaimer: I do work for HP and I did work on DeskWriter.  However, these
modifications are not endorsed by HP (have I said that enough?! :-).

Rick Klaus
hplabs!hpvcfs1!rickk