home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / prtsampl.zip / PRTSAMP.TXT < prev    next >
Text File  |  1998-04-20  |  1KB  |  28 lines

  1. Print Sample Application
  2. ------------------------
  3.  
  4. This is a sample application which shows how to print text and graphics under
  5. OS/2. It also shows how to handle printer queues, job properties, and fonts.
  6. The time-consuming parts are handled by separate threads.
  7.  
  8. Detailed information about this application and the how to print from
  9. applications can be found in "OS/2 Programming Guide".
  10.  
  11.  
  12. Things you can do to improve this application
  13. ---------------------------------------------
  14.  
  15. 1. Wrap text when it is outside the user define margins. This is required for
  16. a word-processor. The text is left clipped to show how a clip path can be used
  17. to enforce the user-defined margins.
  18. 2. Allow the user to page backward through a multi-page document. This requires
  19. more extensive formatting on a separate thread but has the advantage that the
  20. user can tell exactly how large the document is and what is the current page.
  21. 3. Allow the user to do title-bar drag/drop onto a printer.
  22. 4. Allow the user to drag/drop a file associated with this application onto
  23. a printer. PRTSAMP is then called with the DM_PRINTOBJECT message.
  24. 5. Allow for BMP files that contain an array of bitmaps.
  25. 6. Support ICO and PTR files.
  26. 7. Support device fonts and character positioning of a screen font according
  27. to the device font characteristics.
  28.