CN17420C/N1742 - Presentation Manager Device Drivers
5 days, hands-on labs Public, private
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:
oUnderstand how a presentation driver operates
oModify an existing printer presentation driver and write a PM driver
Topics:
oThe OS/2 Device Model
-Device independence -Layers of OS/2 -Presentation driver components -The print manager -The spooler
oIntroduction to Printing
-Supporting device independent graphics -Presentation spaces -Device contexts -The OS2.INI file -Printing a document
oThe Build Process
-Tools and utilities -Module definition file -Debugging
oPresentation Driver Overview
-Entry points -Function classes -Call structure -General considerations
oDriver Initialization
-Enable Subfunctions -Flow of initialization -Flow of termination -Exit list processing
oSystem Services and Queries
-System facilities at ring 2 -Query functions
oIntroduction to Drawing
-Required functions -Attributes -Text attributes -Text implementation
oDrawing Lines
-Line types -Line attributes -Line implementation
oSimulated and Internal Functions
-Transforms -Clipping -Bounds -Engine internal functions
oFonts
-Font definitions -Engine and device fonts -Font queries -Realizing fonts
oColor
-Color tables -Color mapping -Dithering -Color realization -Mix modes
oBitmaps
-Bitmap definitions -Working with bitmaps -Bitblts
oDisplay Drivers
-Resources -Correlation -Drawing to the display -AVIO
oPrinter Drivers
-Spooler -Queued printing -Data formats -Banding -Printer set up -Brute force printing
oSource Code Listings
oLab 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).
Prices: Tuition 1,575 Private Class Price: 1-14 Students: 20,000 Each additional student: 500