Microsoft KB Archive/45422

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Region (Rgn) Routines Not Supported on Apple LaserWriter

Article ID: 45422

Article Last Modified on 11/21/2006

This article was previously published under Q45422

SUMMARY

The Apple LaserWriter does not support Macintosh "regions."

Page 85 of the "Programmer's Introduction to the Macintosh Family" (published by Addison-Wesley, 1988) states "You should never use regions with any image that will be printed. The LaserWriter's firmware does not support regions."

This information applies to Microsoft QuickBASIC Version 1.00 for Apple Macintosh Systems. The WINDOW OUTPUT #n statement in QuickBASIC cannot be used to redirect regions to the Apple LaserWriter printer.

You can define and manipulate regions with the following MBLC routines, which are built into QuickBASIC:

   NewRgn     OpenRgn     CloseRgn    FillRgnHdl   PaintRgn
   FrameRgn   PtInRgn     DiffRgn     InsetRgn     RectRgn
   InvertRgn  SectRgn     MapRgn      DragGrayRgn  SetEmptyRgn
   EmptyRgn   SetRectRgn  EqualRgn    OffsetRgn    EraseRgn
   FillRgn    CopyRgn     DisposeRgn  XorRgn
                

These MBLC routines are documented in Appendix E.10 on Pages 471 to 497 of "Microsoft QuickBASIC for Apple Macintosh: Language Reference."


Additional query words: MQuickB

Keywords: KB45422