Microsoft KB Archive/81245

From BetaArchive Wiki

DeviceCapabilities Function Sample Code

Q81245



The information in this article applies to:


  • Microsoft Windows Software Development Kit (SDK) 3.1





SUMMARY

PRNDRV is a file in the Microsoft Software Library 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.



MORE INFORMATION

The following files are available for download from the Microsoft Download Center:


Prndrv.exe

For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

Q119591 How to Obtain Microsoft Support Files from Online Services

Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that 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)

Additional query words: softlib PRNDRV.EXE kbfile

Keywords : kbfile kbsample kb16bitonly kbOSWin310 _IK kbSDKWin16
Issue type : kbinfo
Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK310


Last Reviewed: December 10, 1999
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.