[comp.sys.mac] LaserWriter default cover page

levin@bbn.com (Joel B Levin) (11/24/88)

We have a group of Macs scattered around the floor connected to a
LaserWriter.  Often it is a problem separating one user's document
from another, unless the users remembered to click a "cover page"
button in the LW driver dialog.  Unfortunately, this setting defaults
to "Cover Page: No" and is not remembered (it is hard wired in the
driver), so if a user forgets to click a different button, her
printout may be inadvertantly taken away with the next user's
printout.  I want to fix this by changing the default button to "Cover
Page: Last Page" so it will take an overt act by the user to cause a
cover page NOT to be printed.

So I did.  Here is a patch to the LaserWriter driver which will cause
the dialog to come up with the "Last Page" button set.  It applies
equally well to LaserWriter driver versions 5.0, 5.1, and 5.2.  It is
not in the same location of the file in each version and is probably
not in the same position of the resource; but hex search will find it
correctly.

Using your favorite file editor (I used Fedit Plus, but Mac Zap Tools,
Symantec Tools, MacSnoopy, etc. should work, as should ResEdit):

Change   377C 0010 0004 47EC
    to   377C 0012 0004 47EC
                ^^
Fedit Plus will show this patch beginning at an odd byte address;
that's OK.  In ResEdit, this will be found in PDEF 4 (remember to
delete the old byte, then type the new; ResEdit does not overwrite).

I suggest making your backup copy of the LW driver and then editing
your actual one (reverse of normal procedure).  If you edit the copy
and then put the copy in place, you may have to reboot (I maybe had a
problem doing this once).

No guarantees. Your mileage may vary.  Using 11 instead of 12 will set
the default button to "First Page", but I think that's pretty useless.

	/JBL

Please redirect the Followup-To: line to .programmer to discuss
technical aspects.

UUCP:     {backbone}!bbn!levin		POTS: (617) 873-3463
INTERNET: levin@bbn.com