CN17420C/N1742 - Presentation Manager Device Drivers

From OS2World.com Wiki
Jump to: navigation, search

Contents

Course N1742 - Presentation Manager Device Drivers

Synopsis

This advanced course shows you how to support graphical devices (printers and displays) under OS/2 Presentation Manager (PM). The course combines lectures and laboratory exercises to illustrate the main features of a presentation driver.

How you will benefit

You'll be taught how to:

  • Understand how a presentation driver operates
  • Modify an existing printer presentation driver and write a PM driver

Topics

  • The OS/2 Device Model
    • Device independence
    • Layers of OS/2
    • Presentation driver components
    • The print manager
    • The spooler
  • Introduction to Printing
    • Supporting device independent graphics
    • Presentation spaces
    • Device contexts
    • The OS2.INI file
    • Printing a document
  • The Build Process
    • Tools and utilities
    • Module definition file
    • Debugging
  • Presentation Driver Overview
    • Entry points
    • Function classes
    • Call structure
    • General considerations
  • Driver Initialization
    • Enable Subfunctions
    • Flow of initialization
    • Flow of termination
    • Exit list processing
  • System Services and Queries
    • System facilities at ring 2
    • Query functions
  • Introduction to Drawing
    • Required functions
    • Attributes
    • Text attributes
    • Text implementation
  • Drawing Lines
    • Line types
    • Line attributes
    • Line implementation
  • Simulated and Internal Functions
    • Transforms
    • Clipping
    • Bounds
    • Engine internal functions
  • Fonts
    • Font definitions
    • Engine and device fonts
    • Font queries
    • Realizing fonts
  • Color
    • Color tables
    • Color mapping
    • Dithering
    • Color realization
    • Mix modes
  • Bitmaps
    • Bitmap definitions
    • Working with bitmaps
    • Bitblts
  • Display Drivers
    • Resources
    • Correlation
    • Drawing to the display
    • AVIO
  • Printer Drivers
    • Spooler
    • Queued printing
    • Data formats
    • Banding
    • Printer set up
    • Brute force printing
  • Source Code Listings
  • Lab Exercises

Prerequisites

You should have at least 6 months experience programming in C language. Additionally, you should have written non-trivial Presentation Manager applications or have attended Presentation Manager 2.X for Software Developers (N1688).

Download

N/A