Article ID: 229718 - Last Review: January 24, 2007 - Revision: 3.3 OFF: Macro to Obtain a List of Paper Names Supported by the Active PrinterThis 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.
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
The following sample code displays a list of 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
(http://support.microsoft.com/kb/194789/EN-US/
)
HOWTO: Determine Available PaperBins With DeviceCapabilities API
| Article Translations
|


Back to the top
