OS2DD306 - Printer Device Drivers: Difference between revisions
 Created page with "OS/2 PM Printer Device Driver - Course OS2DD306   OS/2 1.x/2.0 Presentation Manager Printer device driver  Objective ======================     To expedite Independent Hardwar..."  | 
				mNo edit summary  | 
				||
| Line 1: | Line 1: | ||
OS/2 PM Printer Device Driver - Course OS2DD306  | OS/2 PM Printer Device Driver - Course OS2DD306  | ||
OS/2 1.x/2.0 Presentation Manager Printer device driver  | |||
==Objective==  | |||
To expedite Independent Hardware Vendors (IHV) support of OS/2 2.1 by writing Presentation Manager Device Drivers (PM DD) to support various Printers  | |||
This class will cover the core PM DD modules used to interface OS/2 applications and print spooler to the printer; this will include support for WIN and GPI calls.  Interfacing to the graphics engine and DISPLAY.DLL will be covered in detail.  | |||
==Target audience==  | |||
IBM or IHV programmers who code GUI device drivers for printers.  | IBM or IHV programmers who code GUI device drivers for printers.  | ||
Attendee prerequisites  | ==Attendee prerequisites==  | ||
a. Programming expertise: C, MASM  | |||
b. Intimate knowledge of IHV hardware & programming protocol  | |||
c. Other device drivers for IHV hardware (i.e. printer drivers)  | |||
d. Purchased development software (OS/2 2.1, DDK, MSC 6.0, MASM 5.1)  | |||
Course length: 5 days  | Course length: 5 days  | ||
==Outline==  | |||
OS/2 Structure  | OS/2 Structure  | ||
    Device Driver types  |     Device Driver types  | ||
| Line 63: | Line 59: | ||
          Test case DLLs  |           Test case DLLs  | ||
Labs: Developing OS/2 PM Printer DD  | Labs: Developing OS/2 PM Printer DD  | ||
[[Category:Courseware]]  | [[Category:Courseware]]  | ||
Revision as of 13:59, 28 June 2018
OS/2 PM Printer Device Driver - Course OS2DD306
OS/2 1.x/2.0 Presentation Manager Printer device driver
Objective
To expedite Independent Hardware Vendors (IHV) support of OS/2 2.1 by writing Presentation Manager Device Drivers (PM DD) to support various Printers
This class will cover the core PM DD modules used to interface OS/2 applications and print spooler to the printer; this will include support for WIN and GPI calls. Interfacing to the graphics engine and DISPLAY.DLL will be covered in detail.
Target audience
IBM or IHV programmers who code GUI device drivers for printers.
Attendee prerequisites
a. Programming expertise: C, MASM
b. Intimate knowledge of IHV hardware & programming protocol
c. Other device drivers for IHV hardware (i.e. printer drivers)
d. Purchased development software (OS/2 2.1, DDK, MSC 6.0, MASM 5.1)
Course length: 5 days
Outline
OS/2 Structure
  Device Driver types
    PM Device Drivers
Block diagram (PM Driver modules)
Logic, Data flow
Device Context
Types, data types, stack usage
Dynamic Link Library functions
Imported, exported
Presentation Driver Interface Protocol
Return codes Allocating memory Error Strategy Protection implementation Exit List processing Interrupts (^C)
Development topics
Transform matrix values Bounds computations Clipping Coordinate values
Printer driver specific topics
Banding Document processing Extended attribs Device Names Hardcopy driver migration Outputting to a file Job error dialog
DAK contents
  Organization, Build tree
  Tools
     Display test tool (DTT)
        Test case DLLs
Labs: Developing OS/2 PM Printer DD