[comp.sys.mac] assorted questions

cs021069@brap0976 (Nick Thompson) (12/02/87)

Questions for the net:

1)  How does one convert 'snd ' resources from type 1 to type 2
    and vice versa?  I want to use the system beeps supplied with
    the Mac II and other sounds in hypercard.

2)  In MPW's Object Pascal, is it possible to convert an object of one
    type to another.  They have all the same fields and methods, just
    different implementations of the methods.  I don't want to go to
    another level of indirection (which would be 4!) and neither do I
    want to create a new object and update all references to it (there
    are many).  Would creating a new object, then foolint the memory
    manager into reusing the master pointer cause too much havock?

3)  Is there any elegant way to convert a bitmap into a region?  I don't
    want to read the bitmap bit by bit, neither do I want to mess with
    the region data structure, unless I can be sure that Apple won't be
    changing it in the near future.

4)  I suspect there is a bug in the LaserWriter Driver 5.0.  When I print
    sometimes a line becomes garbled, with letters appearing in the wrong
    places.  It doesn't happen with older drivers.  Is it the program's
    (RSG4) fault?

5)  How do I print on Legal size paper with the LaserWriter?  When I set
    that size with Page Setup and print, I get the full 14", but they are
    shifted to the top of the page by 3", so printing only appears on the
    top 11" of the page, but it is the bottom 11" of the document.  This
    happens with both RSG4 and WriteNow, so I don't think it is the program.

Thank You!  And to pay for my curiosity, I have a sacrifice:  There seems to
be an undocumented feature (read BUG) in CopyMask of the MacII ROMs.  It does
do scaling, even though IM specifically says it does not.