OFF: Macro to Obtain a List of Paper Names Supported by the Active Printer (229718)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Word 97 for Windows
This article was previously published under Q229718 SUMMARY
There is no built-in feature in Microsoft Visual Basic for Applications to obtain a list of paper names (Letter, Legal, A4, and so forth) supported by the active printer. This article contains Visual Basic for Applications sample code that returns the paper names supported by the active printer.
REFERENCES
The sample code provided in this article is derived from the following article in the Microsoft Knowledge Base:
194789 HOWTO: Determine Available PaperBins With DeviceCapabilities API
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto KB229718 |
---|
|