摘要 |
A method and apparatus for driving a printer driver according to a determined type of application and a method and apparatus for installing a printer driver. The method includes determining the type of application; and driving one of an extensible markup language (XML) paper specification (XPS) driver and a legacy driver in accordance with the determined type of application. The most appropriate printer driver is automatically selected in accordance with the determined type of application. Thus, a user does not have to inconveniently select a printer driver whenever the user prints data and the data may be printed using the most appropriate printer driver. Furthermore, in consideration of various types of applications, such as, a Windows Presentation Foundation (WPF) type application and a conventional Win32 type application, an optimized printing operation may be performed even when a user does not check whether an application to be used is a WPF type application or a Win32 type application, or whether a printer driver corresponding to the application is an XPS driver or a legacy driver, such as a printer control language (PCL), graphical device interface (GDI), or postscript (PS) driver. |