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