Chapter 18. Working with Printers

Before You Begin

To work through the material presented in this chapter, you need to be familiar with the following concepts from earlier chapters:

  • Creating a connection into Microsoft Windows Management Instrumentation (WMI)

  • Creating an instance of the FileSystemObject class

  • Implementing the For...Next statement

  • Implementing the Select Case statement

After completing this chapter, you will be able to:

  • Work with the Win32_Printer WMI class

  • Convert status codes into readable text

  • Work with the Win32_PrintJob WMI class

Working with Win32_Printer

In this section, you are going to use the WMI Win32_Printer class. This particular WMI class is large and robust, defining more than 80 properties and implementing 7 methods. Some ...

Get Microsoft® VBScript Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.