PRNDRV is a file in the Microsoft Download Center that demonstrates all
the options of the DeviceCapabilities() function provided by printer
drivers in the Windows 3.1 environment. PRNDRV retrieves printer
information and displays it on the screen.
The following file is available for download from the Microsoft Download Center:
Prndrv.exe (http://download.microsoft.com/download/win31/sample10/1/w31/en-us/prndrv.exe)
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 (http://support.microsoft.com/kb/119591/EN-US/) How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
The
DeviceCapabilities() function provides information about the
following printer features:
| • | Information about the printer driver (driver size, driver date, driver version)
|
| • | Information about the paper (paper sizes, paper extents, and so
forth)
|
| • | Information about the paper bins (bin numbers, bin types, named
bins, and so forth)
|
| • | Information from the DEVMODE structure (all header and device-
independent information) |