home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / zgsp11wm.zip / ZGSP11.ZIP / APPNOTES.TXT < prev    next >
Text File  |  1991-01-13  |  4KB  |  85 lines

  1. SUPERPRINT APPLICATION NOTES
  2. Version 1.1                                     last updated:  13-Jan-91
  3. ========================================================================
  4.  
  5. Refer to Appendix B -- Application Notes in the SuperPrint manual (for
  6. new users) or the SuperPrint 1.1 Release Notes (for updated 1.0 users).
  7.  
  8. Since the manual was completed, the following are new
  9. application-specific bugs, quirks, and observations about the way
  10. SuperPrint interacts with other Windows applications.
  11.  
  12. -------------------------------------------
  13. Micrographx Designer 3.01 and earlier
  14. Arts and Letters 2.02 and earlier
  15. -------------------------------------------
  16.  
  17. Problem:
  18.  
  19. Color bitmap files (such as color TIFF) print in black and white.
  20.  
  21. Solution:
  22.  
  23. Find the WIN.INI section pertaining to your device and port (for
  24. example, [PaintJet SuperDriver,LPT1:]), and add the line:
  25.     BitFlags=1
  26.  
  27. Technical Background:
  28.  
  29. The Windows Color PostScript driver and all SuperDrivers report device
  30. bitmap characteristics that are 1 bit-per-pixel and 1 plane.  Some
  31. applications incorrectly interpret this to mean that the drivers cannot
  32. handle color.  Technically, it means only that a compatible memory
  33. device context will be monochrome (1 plane, 1 bit-per-pixel), because
  34. both the PostScript driver and SuperDrivers rely on Windows GDI to draw
  35. into memory device contexts.  A more accurate way for applications to
  36. determine color support is the NUMCOLORS information from
  37. GetDeviceCaps().  Both the PostScript driver and SuperDrivers return 2
  38. (black and white) if attached to a monochromatic device, and 8 (black
  39. white red green blue cyan magenta yellow) if attached to a color device.
  40.  
  41. For SuperDrivers, setting  BitFlags=1  in its WIN.INI section makes a
  42. SuperDriver report its internal plane count and bits per pixel, even
  43. though it cannot draw into equivalent memory device contexts.  If an
  44. application does not need this memory DC feature, and few do, then there
  45. is little harm in using BitFlags=1.
  46.  
  47. Most of the applications that have this problem are those written before
  48. Windows 3.0 and the advent of Device Independent Bitmaps (DIB).  The
  49. only bitmap format that was consistently handled prior to Windows 3.0
  50. was the monochrome format (1 bit-per-pixel and 1 plane).  All other
  51. bitmap formats were (and are still in 3.0) device-dependent, and not
  52. transferable between devices.  Unfortunately, mainstream Windows
  53. graphics applications have been slow to support the DIB format.  The
  54. Color PostScript driver, the standard Win 3.0 PaintJet driver (written
  55. by Zenographics), and all SuperDrivers have supported 1-bit, 4-bit,
  56. 8-bit, and 24-bit DIBs since May 1990.  Application developers have had
  57. toolkits supporting DIBs for over a year now.
  58.  
  59. SuperDrivers are best-matched with Windows 3.0 applications that support
  60. StretchDIBits() and allow the device driver to take the bitmap source,
  61. and stretch the pixels to the device resolution.  In addition,
  62. SuperDrivers can handle DIBs of any size up to available memory.
  63. Unfortunately, many appplications send bitmap data in very small chunks,
  64. slowing the SuperDriver bitmap handling.  CorelDRAW 2.0 sends DIB data,
  65. but one line at a time!
  66.  
  67. -------------------------------------------
  68. Microsoft PowerPoint 2.0
  69. Ami Pro 1.2 and earlier
  70. -------------------------------------------
  71.  
  72. Problem:
  73.  
  74. On-the-fly screen fonts don't show up when entering text
  75.  
  76. Solution:
  77.  
  78. In SuperText, select each font that you wish to use, then click the 
  79. Fonts... button. In the dialog box that comes up, select the point size 
  80. to build. This can be any size you wish and you only need to build one
  81. size. Next, select the Build... or Build All... (if more than one font
  82. is selected). After the screen font has been built, the application will
  83. recognize the font as being scalable and should create any size.
  84.  
  85.