1.1.1 Loading and Initializing a Printer Driver

Windows loads a printer driver and initializes related data structures when an application creates a printer-device context. There are two large, related data structures: the first describes the printer to GDI, the second describes the application's device context (pens, brushes, fonts, and so on) to the printer driver. These structures are described later in this chapter.